btrfs-progs: limit minimal num of args for btrfs-image
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Mon, 30 Jun 2014 03:54:12 +0000 (11:54 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:55:27 +0000 (14:55 +0200)
commit3f6c8a16104591474ee2432467f2c1f6dba6a651
tree11b080ee3c8bb96d1a67688fb5b7bb0c218d7d9c
parenta184abc70f7b1468e6036ab576f1587ee0574668
btrfs-progs: limit minimal num of args for btrfs-image

The btrfs-image requires at least 2 args to run,
one for the source dev/file, the other for the target dev/file.

This patch depends on patch:
btrfs-progs: move the check_argc_* functions into utils.c

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