diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2017-01-28 08:16:37 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-31 01:32:24 +0100 |
commit | f88ae46b09e93ef07ac9efaf85df62adb5ba58e6 (patch) | |
tree | 3760a0ed2c9020e6417c36636c49d1082586e945 /certs | |
parent | Linux 4.10-rc6 (diff) | |
download | linux-f88ae46b09e93ef07ac9efaf85df62adb5ba58e6.tar.xz linux-f88ae46b09e93ef07ac9efaf85df62adb5ba58e6.zip |
xfs: glean crc status from mp not flags in xfs_btree_init_block_int
xfs_btree_init_block_int() can determine whether crcs are
in effect without the passed-in XFS_BTREE_CRC_BLOCKS flag;
the mp argument allows us to determine this from the
superblock. Remove the flag from callers, and use
xfs_sb_version_hascrc(&mp->m_sb) internally instead.
This removes one difference between the if & else cases
in the callers.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions