|
@@ -2538,7 +2538,8 @@ static int did_create_dir(struct send_ctx *sctx, u64 dir)
|
|
di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item);
|
|
di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item);
|
|
btrfs_dir_item_key_to_cpu(eb, di, &di_key);
|
|
btrfs_dir_item_key_to_cpu(eb, di, &di_key);
|
|
|
|
|
|
- if (di_key.objectid < sctx->send_progress) {
|
|
|
|
|
|
+ if (di_key.type != BTRFS_ROOT_ITEM_KEY &&
|
|
|
|
+ di_key.objectid < sctx->send_progress) {
|
|
ret = 1;
|
|
ret = 1;
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|