commit | d86477b303da51832002eec1cdec2938c42fccc3 | [log] [tgz] |
---|---|---|
author | Filipe David Borba Manana <fdmanana@gmail.com> | Thu Jan 30 13:27:12 2014 +0000 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:15:40 2014 -0400 |
tree | c8723eec6df985996ca5fbcba168adc2ed350b71 | |
parent | c404e0dc2c843b154f9a36c3aec10d0a715d88eb [diff] |
Btrfs: add missing error check in incremental send Function wait_for_parent_move() returns negative value if an error happened, 0 if we don't need to wait for the parent's move, and 1 if the wait is needed. Before this change an error return value was being treated like the return value 1, which was not correct. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Josef Bacik <jbacik@fb.com>