]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: remove duplicate asserts in xfs_defer_extent_free
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jul 2024 21:21:39 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 1 Aug 2024 00:07:26 +0000 (17:07 -0700)
commitb4726bb660060ae22f9da9c017855e91c5623924
tree2e64d1b50607015753a7c2c235ee4e0ce9584992
parenta2aa45f2ddb05dbf21e0e533fab81d91b1ababd4
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>
libxfs/xfs_alloc.c