btrfs-progs: check option conflict for btrfs-convert
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 7 Aug 2014 02:35:57 +0000 (10:35 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 13:07:04 +0000 (15:07 +0200)
commit2b2337830c6bfa2f3dc15bab3ca04ed2a5cc7a25
tree007e2a200083686b3ceffe8d7740194aafc35476
parentc2d83207bf964e6c0624ce870a01ac1b13ab165b
btrfs-progs: check option conflict for btrfs-convert

The -d, -i, -n options make no sense to rollback.
Check the improper usages such as:
# btrfs-convert -r -d <dev>

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-convert.c