Christoph Hellwig 6471e9c5e7 xfs: remove the di_version field from struct icdinode
We know the version is 3 if on a v5 file system.   For earlier file
systems formats we always upgrade the remaining v1 inodes to v2 and
thus only use v2 inodes.  Use the xfs_sb_version_has_large_dinode
helper to check if we deal with small or large dinodes, and thus
remove the need for the di_version field in struct icdinode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2020-03-19 08:48:47 -07:00
..
2019-11-07 13:00:53 -08:00
2020-03-11 09:11:39 -07:00
2020-03-02 20:55:53 -08:00
2020-03-02 20:55:55 -08:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2020-03-02 20:55:55 -08:00
2020-03-11 09:11:39 -07:00
2019-06-12 08:37:40 -07:00
2019-06-28 19:30:43 -07:00