diff options
author | Wengang Wang <wen.gang.wang@oracle.com> | 2023-01-04 10:05:43 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-01-05 07:34:21 -0800 |
commit | 601a27ea09a317d0fe2895df7d875381fb393041 (patch) | |
tree | 442460a74e1e4c48b6d920f46c16d78847a6e46f | |
parent | e195605ed28b5581dc2d509283cfea2e8635a251 (diff) |
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 <wen.gang.wang@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-rw-r--r-- | fs/xfs/xfs_extent_busy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_extent_busy.c b/fs/xfs/xfs_extent_busy.c index ad22a003f959..f3d328e4a440 100644 --- a/fs/xfs/xfs_extent_busy.c +++ b/fs/xfs/xfs_extent_busy.c @@ -236,6 +236,7 @@ xfs_extent_busy_update_extent( * */ busyp->bno = fend; + busyp->length = bend - fend; } else if (bbno < fbno) { /* * Case 8: |