]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove duplicate asserts in xfs_defer_extent_free
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 01:17:43 +0000 (18:17 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commitb52eaa2f6ee167512fa7f3041912f4f83fdf295d
tree004489aab4dc63144a4214c28b19f7a42ea3332b
parent328b29c975ccc89eb141ee967baec3a22629768d
xfs: remove duplicate asserts in xfs_defer_extent_free

Source kernel commit: 851a6781895a0f6e0ba75168dc7aecc132d13e6a

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