]> Git Repo - linux.git/commit
xfs: only check the superblock version for dinode size calculation
authorChristoph Hellwig <[email protected]>
Wed, 18 Mar 2020 15:15:10 +0000 (08:15 -0700)
committerDarrick J. Wong <[email protected]>
Thu, 19 Mar 2020 15:48:47 +0000 (08:48 -0700)
commite9e2eae89ddb658ea332295153fdca78c12c1e0d
tree025550d66e81ea683b374a555f473b8ae8df8033
parentb81b79f4eda2ea98ae5695c0b6eb384c8d90b74d
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Chandan Rajendra <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_symlink.c
This page took 0.055961 seconds and 4 git commands to generate.