diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_super.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 24ef83ef04de..fd6be45b3a1e 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -1574,9 +1574,16 @@ xfs_fs_fill_super( | |||
1574 | } | 1574 | } |
1575 | } | 1575 | } |
1576 | 1576 | ||
1577 | if (xfs_sb_version_hasrmapbt(&mp->m_sb)) | 1577 | if (xfs_sb_version_hasrmapbt(&mp->m_sb)) { |
1578 | if (mp->m_sb.sb_rblocks) { | ||
1579 | xfs_alert(mp, | ||
1580 | "EXPERIMENTAL reverse mapping btree not compatible with realtime device!"); | ||
1581 | error = -EINVAL; | ||
1582 | goto out_filestream_unmount; | ||
1583 | } | ||
1578 | xfs_alert(mp, | 1584 | xfs_alert(mp, |
1579 | "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); | 1585 | "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); |
1586 | } | ||
1580 | 1587 | ||
1581 | error = xfs_mountfs(mp); | 1588 | error = xfs_mountfs(mp); |
1582 | if (error) | 1589 | if (error) |