commit | 9a40f1222a372de77344d85d31f8fe0e1c0e60e7 | [log] [tgz] |
---|---|---|
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | Mon Mar 31 18:03:25 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Mon Apr 07 09:08:45 2014 -0700 |
tree | 0f4e9fff808aba25e7f9a0b30543b697102b1395 | |
parent | 766b5e5ae78dd04a93a275690a49e23d7dcb1f39 [diff] |
btrfs: filter invalid arg for btrfs resize Originally following cmds will work: # btrfs fi resize -10A <mnt> # btrfs fi resize -10Gaha <mnt> Filter the arg by checking the return pointer of memparse. Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>