From d77a169154ad56e502ae63b3692c990038c96643 Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Thu, 30 Jun 2011 13:34:38 +0100 Subject: [PATCH 14/28] incorrect argument checking for "btrfs sub snap -r" Looks like this was missing in integration-20110626 for the readonly snapshot patch: Signed-off-by: Hugo Mills --- btrfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/btrfs.c b/btrfs.c index c90ee48..9cc2665 100644 --- a/btrfs.c +++ b/btrfs.c @@ -49,7 +49,7 @@ static struct Command commands[] = { /* avoid short commands different for the case only */ - { do_clone, 2, + { do_clone, -2, "subvolume snapshot", "[-r] [/]\n" "Create a writable/readonly snapshot of the subvolume with\n" "the name in the directory.", -- 1.7.5.2.353.g5df3e