diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-18 08:15:10 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-19 08:48:47 -0700 |
commit | e9e2eae89ddb658ea332295153fdca78c12c1e0d (patch) | |
tree | 025550d66e81ea683b374a555f473b8ae8df8033 /fs/xfs/xfs_fsmap.h | |
parent | b81b79f4eda2ea98ae5695c0b6eb384c8d90b74d (diff) |
xfs: only check the superblock version for dinode size calculation
The size of the dinode structure is only dependent on the file system
version, so instead of checking the individual inode version just use
the newly added xfs_sb_version_has_large_dinode helper, and simplify
various calling conventions.
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>
Diffstat (limited to 'fs/xfs/xfs_fsmap.h')
0 files changed, 0 insertions, 0 deletions