Dave Chinner cf28e17c91 xfs: kill xfs_sb_version_has_v3inode()
All callers to xfs_dinode_good_version() and XFS_DINODE_SIZE() in
both the kernel and userspace have a xfs_mount structure available
which means they can use mount features checks instead looking
directly are the superblock.

Convert these functions to take a mount and use a xfs_has_v3inodes()
check and move it out of the libxfs/xfs_format.h file as it really
doesn't have anything to do with the definition of the on-disk
format.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
2021-08-19 10:07:14 -07:00
..
2021-08-19 10:07:14 -07:00
2021-08-19 10:07:12 -07:00
2021-01-24 14:27:20 +01:00
2019-10-28 08:37:54 -07:00
2021-06-21 10:05:51 -07:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-06-21 10:05:51 -07:00
2021-08-19 10:07:14 -07:00
2021-06-21 10:05:46 -07:00
2021-01-24 14:43:46 +01:00