]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: fix scrub tracepoints when inode-rooted btrees are involved
authorDarrick J. Wong <djwong@kernel.org>
Mon, 2 Dec 2024 18:57:32 +0000 (10:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2024 17:07:18 +0000 (18:07 +0100)
commit3560e2028374e41e84bdf2304194f07b8d94baa2
tree203baa9f1dbeccc5a52a8ceefa89e73f0dbc7909
parent58d71a547717fb1342db2d019e7eb39ff143bb92
xfs: fix scrub tracepoints when inode-rooted btrees are involved

commit ffc3ea4f3c1cc83a86b7497b0c4b0aee7de5480d upstream.

Fix a minor mistakes in the scrub tracepoints that can manifest when
inode-rooted btrees are enabled.  The existing code worked fine for bmap
btrees, but we should tighten the code up to be less sloppy.

Cc: <stable@vger.kernel.org> # v5.7
Fixes: 92219c292af8dd ("xfs: convert btree cursor inode-private member names")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/scrub/trace.h