David Sterba
1c880f34f1
btrfs-progs: move help defines to own header
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:45 +01:00
David Sterba
951e6276e6
btrfs-progs: tree-stats: use on-stack path buffer in calc_root_size
...
We don't need to conserve stack space too much unlike kernel, also
remove one error condition.
Signed-off-by: David Sterba <dsterba@suse.com>
2016-11-09 13:47:33 +01:00
David Sterba
acf978a2d4
btrfs-progs: tree-stats: switch to common message helpers
...
Signed-off-by: David Sterba <dsterba@suse.com>
2016-10-03 11:33:14 +02:00
David Sterba
253cd12f41
btrfs-progs: tree-stats: check and report mount status
...
Signed-off-by: David Sterba <dsterba@suse.com>
2016-09-21 11:47:55 +02:00
Nicholas D Steeves
bd2cc320af
btrfs-progs: typo review of strings and comments
...
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-06-01 14:56:56 +02:00
David Sterba
3be6e3e7c9
btrfs-progs: deprecate and stop using btrfs_level_size
...
Size of a b-tree node is always nodesize, regardless of the level.
Signed-off-by: David Sterba <dsterba@suse.com>
2016-05-02 14:40:23 +02:00
David Sterba
2a796d84af
btrfs-progs: replace leafsize with nodesize
...
Nodesize is used in kernel, the values are always equal. We have to keep
leafsize in headers, similarly the tree setting functions still take and
set leafsize, but it's effectively a no-op.
Signed-off-by: David Sterba <dsterba@suse.com>
2016-05-02 14:40:18 +02:00
Alexander Fougner
d4abd0bfb0
btrfs-progs: copy btrfs-calc-size to inspect-internal tree-stats
...
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-05-02 14:39:53 +02:00