Re: [PATCH] btrfs-progs: describe btrfs-send requires read-only subvolume

2016-02-04 Thread David Sterba
On Thu, Feb 04, 2016 at 02:02:14PM +0900, Satoru Takeuchi wrote:
> Both man btrfs-send(8) and usage message don't describe
> btrfs-send needs read-only snapshot as its argument.
> 
> Signed-off-by: Satoru Takeuchi 

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] btrfs-progs: describe btrfs-send requires read-only subvolume

2016-02-03 Thread Satoru Takeuchi
Both man btrfs-send(8) and usage message don't describe
btrfs-send needs read-only snapshot as its argument.

Signed-off-by: Satoru Takeuchi 
---
 Documentation/btrfs-send.asciidoc | 1 +
 cmds-send.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Documentation/btrfs-send.asciidoc 
b/Documentation/btrfs-send.asciidoc
index 1dba8a3..e05342f 100644
--- a/Documentation/btrfs-send.asciidoc
+++ b/Documentation/btrfs-send.asciidoc
@@ -12,6 +12,7 @@ SYNOPSIS
 DESCRIPTION
 ---
 Sends the subvolume(s) specified by  to stdout.
+ should be read-only here.
 
 By default, this will send the whole subvolume. To do an incremental
 send, use '-p '.
diff --git a/cmds-send.c b/cmds-send.c
index 478ace1..3e34d75 100644
--- a/cmds-send.c
+++ b/cmds-send.c
@@ -711,6 +711,7 @@ const char * const cmd_send_usage[] = {
"btrfs send [-ve] [-p ] [-c ] [-f ] 
 [...]",
"Send the subvolume(s) to stdout.",
"Sends the subvolume(s) specified by  to stdout.",
+   " should be read-only here.",
"By default, this will send the whole subvolume. To do an incremental",
"send, use '-p '. If you want to allow btrfs to clone from",
"any additional local snapshots, use '-c ' (multiple times",
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html