]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: remove xfs_validate_rtextents
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Jul 2024 18:17:09 +0000 (11:17 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:46:49 +0000 (18:46 -0700)
commit0971b4d9967c3a58bb7c995fea923d6ca7c9af60
treecf8d9c21648ec1d0d36c972215b35dee59b5f42b
parent7d5ad4e7a5e73768f748bd5c077e5e6f929fa83c
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>
libxfs/xfs_sb.c
libxfs/xfs_types.h