diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-18 16:15:09 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-19 16:47:34 +0100 |
commit | b81b79f4eda2ea98ae5695c0b6eb384c8d90b74d (patch) | |
tree | c884c184edff74b23ab184f559f4cdb8e5508aef /fs/verity | |
parent | xfs: fix unmount hang and memory leak on shutdown during quotaoff (diff) | |
download | linux-b81b79f4eda2ea98ae5695c0b6eb384c8d90b74d.tar.xz linux-b81b79f4eda2ea98ae5695c0b6eb384c8d90b74d.zip |
xfs: add a new xfs_sb_version_has_v3inode helper
Add a new wrapper to check if a file system supports the v3 inode format
with a larger dinode core. Previously we used xfs_sb_version_hascrc for
that, which is technically correct but a little confusing to read.
Also move xfs_dinode_good_version next to xfs_sb_version_has_v3inode
so that we have one place that documents the superblock version to
inode version relationship.
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/verity')
0 files changed, 0 insertions, 0 deletions