]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: remove xfs_validate_rtextents
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Jul 2024 17:54:04 +0000 (10:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 1 Aug 2024 00:10:05 +0000 (17:10 -0700)
commitd38b0f8c34aaf379a31dad9dd5019c0719b25fe0
tree74bc0c09087fd20649b96e976890b7b4481f7e48
parentab9d322af5d52e3f1acc41e6467004d1bb964dd0
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