summaryrefslogtreecommitdiff
path: root/convert
diff options
context:
space:
mode:
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>2018-03-29 17:23:12 +0900
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:35 +0200
commit4aebb2588c3f3164eba5833ffaf4eb101a05abb2 (patch)
treee0a95db962f8d0622a83a9c8b7880cb9c2253af0 /convert
parent781792707a258be9c5e7a8b018b5838d162a01c2 (diff)
btrfs-progs: fi usage: change to output more info without root privilege
Although per device usage cannot be shown without root privilege, per profile usage can be shown. To achieve this, we just basically need to remove the check of nullness of chunkinfo in print_filesystem_usage_by_chunk(), because other functions except print_unused() properly handles chunkinfo by chunkcount, which is 0 if chunkinfo is null. As a result, "fi usage" always includes the information of "fi df". Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'convert')
0 files changed, 0 insertions, 0 deletions