diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-06-03 14:57:31 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-05 18:35:17 +0200 |
commit | 216259e0e6bc177de74673d5f2c93fedb9495b25 (patch) | |
tree | 656536c13bd229c8f9350d0789f91319f483cbb1 /cmds-qgroup.c | |
parent | 281be9e7d5bc978940ea8b30f836b28c4fc99b47 (diff) |
btrfs-progs: qgroup: show 'none' when we did not limit it on this qgroup
There are two understanding of the '0' value in btrfs qgroup show.
(1) is no-limitation on this qgroup. (2) is the max-limitation is 0.
This patch make it showing in different way.
(1) max-limitation for 0 is still showing '0'.
(2) no-limitation will show 'none'.
qgroupid rfer excl max_rfer max_excl parent
-------- ---- ---- -------- -------- ------
0/5 2.19GiB 2.19GiB none none ---
0/257 100.02MiB 100.02MiB none none ---
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Tested-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-qgroup.c')
0 files changed, 0 insertions, 0 deletions