aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/send.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 92d4ae8a8ae6..f16472409eec 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -3184,12 +3184,12 @@ static int wait_for_parent_move(struct send_ctx *sctx,
3184 struct fs_path *path_after = NULL; 3184 struct fs_path *path_after = NULL;
3185 int len1, len2; 3185 int len1, len2;
3186 3186
3187 if (parent_ref->dir <= sctx->cur_ino)
3188 return 0;
3189
3190 if (is_waiting_for_move(sctx, ino)) 3187 if (is_waiting_for_move(sctx, ino))
3191 return 1; 3188 return 1;
3192 3189
3190 if (parent_ref->dir <= sctx->cur_ino)
3191 return 0;
3192
3193 ret = get_inode_info(sctx->parent_root, ino, NULL, &old_gen, 3193 ret = get_inode_info(sctx->parent_root, ino, NULL, &old_gen,
3194 NULL, NULL, NULL, NULL); 3194 NULL, NULL, NULL, NULL);
3195 if (ret == -ENOENT) 3195 if (ret == -ENOENT)