|
@@ -5662,7 +5662,8 @@ xfs_bmap_collapse_extents(
|
|
|
*done = true;
|
|
|
goto del_cursor;
|
|
|
}
|
|
|
- XFS_WANT_CORRUPTED_RETURN(mp, !isnullstartblock(got.br_startblock));
|
|
|
+ XFS_WANT_CORRUPTED_GOTO(mp, !isnullstartblock(got.br_startblock),
|
|
|
+ del_cursor);
|
|
|
|
|
|
new_startoff = got.br_startoff - offset_shift_fsb;
|
|
|
if (xfs_iext_peek_prev_extent(ifp, &icur, &prev)) {
|
|
@@ -5767,7 +5768,8 @@ xfs_bmap_insert_extents(
|
|
|
goto del_cursor;
|
|
|
}
|
|
|
}
|
|
|
- XFS_WANT_CORRUPTED_RETURN(mp, !isnullstartblock(got.br_startblock));
|
|
|
+ XFS_WANT_CORRUPTED_GOTO(mp, !isnullstartblock(got.br_startblock),
|
|
|
+ del_cursor);
|
|
|
|
|
|
if (stop_fsb >= got.br_startoff + got.br_blockcount) {
|
|
|
error = -EIO;
|