diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-08 16:30:08 -0500 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-29 10:27:24 -0500 |
commit | 1e369b0e199bbfbab5218e1c1443d839700d8884 (patch) | |
tree | 5b3d7de149a01794442ada184293788d8ae9ae56 | |
parent | 6d8a45ce29c7d67cc4fc3016dc2a07660c62482a (diff) |
xfs: remove experimental tag for reflinks
But reject reflink + DAX file systems for now until the code to
support reflinks on DAX is actually implemented.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: port to 4.16]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
-rw-r--r-- | fs/xfs/xfs_super.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index a66335599c7d..f3e0001f9992 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -1668,7 +1668,7 @@ xfs_fs_fill_super( | |||
1668 | } | 1668 | } |
1669 | if (xfs_sb_version_hasreflink(&mp->m_sb)) | 1669 | if (xfs_sb_version_hasreflink(&mp->m_sb)) |
1670 | xfs_alert(mp, | 1670 | xfs_alert(mp, |
1671 | "DAX and reflink have not been tested together!"); | 1671 | "DAX and reflink cannot be used together!"); |
1672 | } | 1672 | } |
1673 | 1673 | ||
1674 | if (mp->m_flags & XFS_MOUNT_DISCARD) { | 1674 | if (mp->m_flags & XFS_MOUNT_DISCARD) { |
@@ -1692,10 +1692,6 @@ xfs_fs_fill_super( | |||
1692 | "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); | 1692 | "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); |
1693 | } | 1693 | } |
1694 | 1694 | ||
1695 | if (xfs_sb_version_hasreflink(&mp->m_sb)) | ||
1696 | xfs_alert(mp, | ||
1697 | "EXPERIMENTAL reflink feature enabled. Use at your own risk!"); | ||
1698 | |||
1699 | error = xfs_mountfs(mp); | 1695 | error = xfs_mountfs(mp); |
1700 | if (error) | 1696 | if (error) |
1701 | goto out_filestream_unmount; | 1697 | goto out_filestream_unmount; |