Skip to content

Commit

Permalink
xfs: fix extent busy updating
Browse files Browse the repository at this point in the history
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 <wen.gang.wang@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
  • Loading branch information
Wengang Wang authored and Darrick J. Wong committed Jan 5, 2023
1 parent e195605 commit 601a27e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/xfs/xfs_extent_busy.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ xfs_extent_busy_update_extent(
*
*/
busyp->bno = fend;
busyp->length = bend - fend;
} else if (bbno < fbno) {
/*
* Case 8:
Expand Down

0 comments on commit 601a27e

Please sign in to comment.