xfs: fix extent busy updating
authorWengang Wang <wen.gang.wang@oracle.com>
Wed, 4 Jan 2023 18:05:43 +0000 (10:05 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 5 Jan 2023 15:34:21 +0000 (07:34 -0800)
commit601a27ea09a317d0fe2895df7d875381fb393041
tree442460a74e1e4c48b6d920f46c16d78847a6e46f
parente195605ed28b5581dc2d509283cfea2e8635a251
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>
fs/xfs/xfs_extent_busy.c