xfs: remove xfs_validate_rtextents
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:36:50 +0000 (15:36 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commit021d9c107e29a598e51fb66a54b22e5416125408
treea7062c37a8aa20a57ec50bb6237843786bef4cc0
parent390b4775d6787706b1846f15623a68e576ec900c
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