]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: remove duplicate asserts in xfs_defer_extent_free
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 18:22:55 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:02 +0000 (11:37 -0700)
commit851a6781895a0f6e0ba75168dc7aecc132d13e6a
tree10b5569d72ed0d6973ec635796ce01457c79204c
parent81927e6ec621e0607e2c061c7bc768f135cb5dc2
xfs: remove duplicate asserts in xfs_defer_extent_free

The bno/len verification is already done by the calls to
xfs_verify_rtbext / xfs_verify_fsbext, and reporting a corruption error
seem like the better handling than tripping an assert anyway.

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>
fs/xfs/libxfs/xfs_alloc.c