Btrfs: send, don't delay dir move if there's a new parent inode
[firefly-linux-kernel-4.4.55.git] / fs / btrfs / send.c
index 7edfc7cebda409d5f76b342591498dbe93d75cac..b9c27aa38d76017eb6dce34f2298749bf882174f 100644 (file)
@@ -3327,7 +3327,7 @@ static int wait_for_parent_move(struct send_ctx *sctx,
                if (ret < 0 && ret != -ENOENT) {
                        goto out;
                } else if (ret == -ENOENT) {
-                       ret = 1;
+                       ret = 0;
                        break;
                }