* [PATCH] btrfs-progs: fix send-test build
@ 2013-04-20 4:37 Eric Sandeen
0 siblings, 0 replies; only message in thread
From: Eric Sandeen @ 2013-04-20 4:37 UTC (permalink / raw)
To: linux-btrfs; +Cc: Stefan Behrens
btrfs_read_and_process_send_stream() recently changed its prototype;
this gets it building again. 0 means "do not honor the <end cmd>"
which was the previous default, before
2bfac02 Btrfs-progs: btrfs-receive optionally honors the end-cmd
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
I . . . guess 0 is sane for this test? If not maybe Stefan can
speak up.
diff --git a/send-test.c b/send-test.c
index 8c14718..4a53ae2 100644
--- a/send-test.c
+++ b/send-test.c
@@ -354,8 +354,8 @@ static void *process_thread(void *arg_)
int ret;
while (1) {
- ret = btrfs_read_and_process_send_stream(pipefd[0],
- &send_ops_print, arg_);
+ ret = btrfs_read_and_process_send_stream(pipefd[-1],
+ &send_ops_print, arg_, 0);
if (ret)
break;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-20 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-20 4:37 [PATCH] btrfs-progs: fix send-test build Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox