Skip to content

Commit

Permalink
trial for issue 12001
Browse files Browse the repository at this point in the history
Signed-off-by: George Amanakis <gamanakis@gmail.com>
  • Loading branch information
gamanakis committed Feb 16, 2025
1 parent 68473c4 commit 100f409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/zfs/dmu_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2004,9 +2004,9 @@ receive_object(struct receive_writer_arg *rwa, struct drr_object *drro,
dmu_object_info_t slot_doi;

err = dmu_object_info(rwa->os, slot, &slot_doi);
if (err == ENOENT || err == EEXIST)
if (err == ENOENT)
continue;
else if (err != 0)
else if (err != 0 && err != EEXIST)
return (err);

err = dmu_free_long_object(rwa->os, slot);
Expand Down

0 comments on commit 100f409

Please sign in to comment.