btrfs-progs: Allow "filesystem show" command to handle different units
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 18 Jun 2015 06:46:11 +0000 (14:46 +0800)
committerDavid Sterba <dsterba@suse.cz>
Mon, 22 Jun 2015 14:40:21 +0000 (16:40 +0200)
commit15379fa2257bf937cf7830c0b1b79f2daf5df72c
tree1531720c0c4bc24a5c8d75de38d9a8bbaac545b0
parentfbb83c2df36cc457f0611332eb1b50d3a8421318
btrfs-progs: Allow "filesystem show" command to handle different units

Now "filesystem show" command can handle different units now.

This is handy for higher level programs to get accurate output from "fi
show" command.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-filesystem.c