From: Christoph Hellwig Date: Mon, 8 Jan 2018 21:30:08 +0000 (-0800) Subject: xfs: remove experimental tag for reflinks X-Git-Tag: v4.19~1640^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e369b0e199bbfbab5218e1c1443d839700d8884;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Darrick J. Wong [darrick: port to 4.16] Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index a663355..f3e0001 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1668,7 +1668,7 @@ xfs_fs_fill_super( } if (xfs_sb_version_hasreflink(&mp->m_sb)) xfs_alert(mp, - "DAX and reflink have not been tested together!"); + "DAX and reflink cannot be used together!"); } if (mp->m_flags & XFS_MOUNT_DISCARD) { @@ -1692,10 +1692,6 @@ xfs_fs_fill_super( "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); } - if (xfs_sb_version_hasreflink(&mp->m_sb)) - xfs_alert(mp, - "EXPERIMENTAL reflink feature enabled. Use at your own risk!"); - error = xfs_mountfs(mp); if (error) goto out_filestream_unmount;