diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-09-08 14:05:16 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-09-08 14:05:16 +0200 |
commit | 950d8381d915ee293a5b57f91e59dd8115684af1 (patch) | |
tree | 6a611a808da1e28c3db740ac9a54c01757af2e56 /fs/xfs/xfs_super.c | |
parent | 979515c5645830465739254abc1b1648ada41518 (diff) | |
parent | d71f058617564750261b673ea9b3352382b9cde4 (diff) |
Merge branch 'linus' into timers/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-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( } } - 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, "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); + } error = xfs_mountfs(mp); if (error) |