summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_super.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 96388fb9adff..7aba628dc527 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1691,15 +1691,11 @@ xfs_fs_fill_super(
1691 goto out_filestream_unmount; 1691 goto out_filestream_unmount;
1692 } 1692 }
1693 1693
1694 if (xfs_sb_version_hasrmapbt(&mp->m_sb)) { 1694 if (xfs_sb_version_hasrmapbt(&mp->m_sb) && mp->m_sb.sb_rblocks) {
1695 if (mp->m_sb.sb_rblocks) {
1696 xfs_alert(mp,
1697 "EXPERIMENTAL reverse mapping btree not compatible with realtime device!");
1698 error = -EINVAL;
1699 goto out_filestream_unmount;
1700 }
1701 xfs_alert(mp, 1695 xfs_alert(mp,
1702 "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); 1696 "reverse mapping btree not compatible with realtime device!");
1697 error = -EINVAL;
1698 goto out_filestream_unmount;
1703 } 1699 }
1704 1700
1705 error = xfs_mountfs(mp); 1701 error = xfs_mountfs(mp);