|
@@ -1574,9 +1574,16 @@ xfs_fs_fill_super(
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (xfs_sb_version_hasrmapbt(&mp->m_sb))
|
|
|
|
|
|
+ if (xfs_sb_version_hasrmapbt(&mp->m_sb)) {
|
|
|
|
+ if (mp->m_sb.sb_rblocks) {
|
|
|
|
+ xfs_alert(mp,
|
|
|
|
+ "EXPERIMENTAL reverse mapping btree not compatible with realtime device!");
|
|
|
|
+ error = -EINVAL;
|
|
|
|
+ goto out_filestream_unmount;
|
|
|
|
+ }
|
|
xfs_alert(mp,
|
|
xfs_alert(mp,
|
|
"EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!");
|
|
"EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!");
|
|
|
|
+ }
|
|
|
|
|
|
error = xfs_mountfs(mp);
|
|
error = xfs_mountfs(mp);
|
|
if (error)
|
|
if (error)
|