diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-06-03 17:27:04 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-05 18:45:21 +0200 |
commit | d91f5ef091c6b6ae11b86cb8420f74670ddcc79c (patch) | |
tree | 60d7878bcb231ae969fd758d18c1a84a75884fcf /mkfs.c | |
parent | d9fd7cc0f554b88a8c878a36ed096347c98bba7f (diff) |
btrfs-progs: qgroup limit: add a check for invalid input of 'T/G/M/K'
Add a check to error out in the following case:
# ./btrfs qgroup limit T /mnt/
Invalid size argument given
Without this patch, btrfs-progs would parse the input as 0
and continue.
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'mkfs.c')
0 files changed, 0 insertions, 0 deletions