]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/xfs/libxfs/xfs_bmap_btree.c
xfs: convert xfs_sb_version_has checks to use mount features
[mirror_ubuntu-jammy-kernel.git] / fs / xfs / libxfs / xfs_bmap_btree.c
index 098ff59c4500561648d59b5c7e3764d0976e145a..9366876de5941e45a29500ed7b5271c38134371c 100644 (file)
@@ -428,7 +428,7 @@ xfs_bmbt_verify(
        if (!xfs_verify_magic(bp, block->bb_magic))
                return __this_address;
 
-       if (xfs_sb_version_hascrc(&mp->m_sb)) {
+       if (xfs_has_crc(mp)) {
                /*
                 * XXX: need a better way of verifying the owner here. Right now
                 * just make sure there has been one set.