diff options
| -rw-r--r-- | fs/xfs/xfs_super.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 0505605e25c1..96388fb9adff 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
| @@ -1684,6 +1684,13 @@ xfs_fs_fill_super( | |||
| 1684 | } | 1684 | } |
| 1685 | } | 1685 | } |
| 1686 | 1686 | ||
| 1687 | if (xfs_sb_version_hasreflink(&mp->m_sb) && mp->m_sb.sb_rblocks) { | ||
| 1688 | xfs_alert(mp, | ||
| 1689 | "reflink not compatible with realtime device!"); | ||
| 1690 | error = -EINVAL; | ||
| 1691 | goto out_filestream_unmount; | ||
| 1692 | } | ||
| 1693 | |||
| 1687 | if (xfs_sb_version_hasrmapbt(&mp->m_sb)) { | 1694 | if (xfs_sb_version_hasrmapbt(&mp->m_sb)) { |
| 1688 | if (mp->m_sb.sb_rblocks) { | 1695 | if (mp->m_sb.sb_rblocks) { |
| 1689 | xfs_alert(mp, | 1696 | xfs_alert(mp, |
