mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-16 08:44:31 +08:00
btrfs-progs: fix send-test build
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>
This commit is contained in:
parent
e9217541db
commit
4782e8ebdb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user