summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_sysfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-22 12:40:57 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-02-22 12:40:57 -0800
commit4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05 (patch)
tree1cdc83b7d4b546790fe8a0559d11bde028e6b3a9 /fs/xfs/xfs_sysfs.c
parentd477f1749f00899c71605ea01aba0ce67e030471 (diff)
downloadlinux-stable-4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05.tar.gz
linux-stable-4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05.tar.bz2
linux-stable-4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05.zip
xfs: consolidate btree block verification
Add a __xfs_btree_check_block helper that can be called by the scrub code to validate a btree block of any form, and move the duplicate error handling code from xfs_btree_check_sblock and xfs_btree_check_lblock into xfs_btree_check_block and thus remove these two helpers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_sysfs.c')
0 files changed, 0 insertions, 0 deletions