Skip to content

Commit 601a27e

Browse files
Wengang-oracleDarrick J. Wong
authored andcommitted
xfs: fix extent busy updating
In xfs_extent_busy_update_extent() case 6 and 7, whenever bno is modified on extent busy, the relavent length has to be modified accordingly. Signed-off-by: Wengang Wang <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
1 parent e195605 commit 601a27e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/xfs/xfs_extent_busy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ xfs_extent_busy_update_extent(
236236
*
237237
*/
238238
busyp->bno = fend;
239+
busyp->length = bend - fend;
239240
} else if (bbno < fbno) {
240241
/*
241242
* Case 8:

0 commit comments

Comments
 (0)