]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/xfs/xfs_mount.c
xfs: remove xfs_filestream_associate
[mirror_ubuntu-zesty-kernel.git] / fs / xfs / xfs_mount.c
index f96c05669a9e06298980bd14e377e34536d0119b..993cb19e7d390e03220f265e9ba97e0f0c8dc7fa 100644 (file)
@@ -314,6 +314,9 @@ reread:
                error = bp->b_error;
                if (loud)
                        xfs_warn(mp, "SB validate failed with error %d.", error);
+               /* bad CRC means corrupted metadata */
+               if (error == EFSBADCRC)
+                       error = EFSCORRUPTED;
                goto release_buf;
        }