summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 4115aba001ad..e552c33e72c0 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -2947,6 +2947,10 @@ static int can_rmdir(struct send_ctx *sctx, u64 dir, u64 dir_gen,
2947 } 2947 }
2948 2948
2949 if (loc.objectid > send_progress) { 2949 if (loc.objectid > send_progress) {
2950 struct orphan_dir_info *odi;
2951
2952 odi = get_orphan_dir_info(sctx, dir);
2953 free_orphan_dir_info(sctx, odi);
2950 ret = 0; 2954 ret = 0;
2951 goto out; 2955 goto out;
2952 } 2956 }