114572d558
- remove debugging printf from 0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch (forwarded request 76766 from dsterba) OBS-URL: https://build.opensuse.org/request/show/76976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=22
30 lines
892 B
Diff
30 lines
892 B
Diff
From d77a169154ad56e502ae63b3692c990038c96643 Mon Sep 17 00:00:00 2001
|
|
From: Stephane Chazelas <stephane.chazelas@gmail.com>
|
|
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 <hugo@carfax.org.uk>
|
|
---
|
|
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] <source> [<dest>/]<name>\n"
|
|
"Create a writable/readonly snapshot of the subvolume <source> with\n"
|
|
"the name <name> in the <dest> directory.",
|
|
--
|
|
1.7.5.2.353.g5df3e
|
|
|