summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extent_busy.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-01-08 12:11:45 -0600
committerLinus Torvalds <torvalds@linux-foundation.org>2023-01-08 12:11:45 -0600
commit1fe4fd6f5cad346e598593af36caeadc4f5d4fa9 (patch)
tree9f43a0ab526558075199c649359a94748505c028 /fs/xfs/xfs_extent_busy.c
parentb7bfaa761d760e72a969d116517eaa12e404c262 (diff)
parent601a27ea09a317d0fe2895df7d875381fb393041 (diff)
downloadlinux-stable-1fe4fd6f5cad346e598593af36caeadc4f5d4fa9.tar.gz
linux-stable-1fe4fd6f5cad346e598593af36caeadc4f5d4fa9.tar.bz2
linux-stable-1fe4fd6f5cad346e598593af36caeadc4f5d4fa9.zip
Merge tag 'xfs-6.2-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs fixes from Darrick Wong: - Remove some incorrect assertions - Fix compiler warnings about variables that could be static - Fix an off by one error when computing the maximum btree height that can cause repair failures - Fix the bulkstat-single ioctl not returning the root inode when asked to do that - Convey NOFS state to inodegc workers to avoid recursion in reclaim - Fix unnecessary variable initializations - Fix a bug that could result in corruption of the busy extent tree * tag 'xfs-6.2-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: xfs: fix extent busy updating xfs: xfs_qm: remove unnecessary ‘0’ values from error xfs: Fix deadlock on xfs_inodegc_worker xfs: get root inode correctly at bulkstat xfs: fix off-by-one error in xfs_btree_space_to_height xfs: make xfs_iomap_page_ops static xfs: don't assert if cmap covers imap after cycling lock
Diffstat (limited to 'fs/xfs/xfs_extent_busy.c')
-rw-r--r--fs/xfs/xfs_extent_busy.c1
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: