projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f6122
)
Btrfs-progs: fix magic return value in cmds-send.c
author
Wang Shilong
<wangsl.fnst@cn.fujitsu.com>
Wed, 4 Sep 2013 15:22:29 +0000
(23:22 +0800)
committer
Chris Mason
<chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:20:41 +0000
(08:20 -0400)
If btrfs send return failure, we return 1,otherwise 0 will be returned.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-send.c
patch
|
blob
|
history
diff --git
a/cmds-send.c
b/cmds-send.c
index
f7f98bc
..
374d040
100644
(file)
--- a/
cmds-send.c
+++ b/
cmds-send.c
@@
-715,7
+715,7
@@
out:
close(send.mnt_fd);
free(send.root_path);
subvol_uuid_search_finit(&send.sus);
- return ret;
+ return
!!
ret;
}
const char * const cmd_send_usage[] = {