btrfs-progs: Fix the argument requirement for '--subvol-extents'
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 30 Oct 2014 06:34:06 +0000 (14:34 +0800)
committerDavid Sterba <dsterba@suse.cz>
Mon, 3 Nov 2014 17:35:31 +0000 (18:35 +0100)
commit0f70b67a0c280ee1801412e0080aae8ad4eae98b
tree537b2293e378553ec5bd10b9c8c98f7fd333df4e
parent8a26f850cd63535d38bc554589f126e043979c2b
btrfs-progs: Fix the argument requirement for '--subvol-extents'

The following commit changed the argument requirement for
'--subvol-extents', which causes it to call arg_strtou64() on NULL,
resulting a segfault.
d34cbe76 btrfs-progs: check: do not require argument for --subvol-extents

This patch revert the patch and change the help string and man page to
make it no longer confusing.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Documentation/btrfs-check.txt
cmds-check.c