]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: remove xfs_validate_rtextents
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Aug 2024 22:54:29 +0000 (15:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 10 Aug 2024 06:57:17 +0000 (23:57 -0700)
commit2a006c284af70f10c6e1051a969fe6fe20e786b9
tree4196c74638bb78ea2477b07b4d48da1045eec306
parent519a9952d870d317e1287a84fe041a3277da9d03
xfs: remove xfs_validate_rtextents

Replace xfs_validate_rtextents with an open coded check for 0
rtextents.  The name for the function implies it does a lot more
than a zero check, which is more obvious when open coded.

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_sb.c
fs/xfs/libxfs/xfs_types.h
fs/xfs/xfs_rtalloc.c