fix incorrect argument checking for "btrfs sub snap -r"
authorHugo Mills <hugo@carfax.org.uk>
Sat, 9 Jul 2011 17:50:23 +0000 (18:50 +0100)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 Oct 2011 13:18:59 +0000 (09:18 -0400)
commitae62acb3c94b771b44341c71bae26b4b2bb78b50
tree5c40fa3c9a5314d8204036f09fcada4ae315ca52
parent25439670a611b83bae8e24477cff95278ed4559a
fix incorrect argument checking for "btrfs sub snap -r"

Stephane Chazelas and Andreas Philipp spotted that the earlier patch
fixing this issue was incomplete, and should also update the argument-
count checking code as well.

Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
btrfs_cmds.c