]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/xfs/xfs_pnfs.c
xfs: convert xfs_sb_version_has checks to use mount features
[mirror_ubuntu-jammy-kernel.git] / fs / xfs / xfs_pnfs.c
index 956cca24e67fa73a8525dcc3f637d5bb59d23c3d..5e1d29d8b2e73810db565c3982d3a8a6175274e5 100644 (file)
@@ -92,7 +92,7 @@ xfs_fs_map_blocks(
        uint                    lock_flags;
        int                     error = 0;
 
-       if (XFS_FORCED_SHUTDOWN(mp))
+       if (xfs_is_shutdown(mp))
                return -EIO;
 
        /*