xfs: relocate sparse inode mount warning
[cascardo/linux.git] / fs / xfs / xfs_super.c
index 1fb1656..f98ce83 100644 (file)
@@ -1528,6 +1528,10 @@ xfs_fs_fill_super(
                }
        }
 
+       if (xfs_sb_version_hassparseinodes(&mp->m_sb))
+               xfs_alert(mp,
+       "EXPERIMENTAL sparse inode feature enabled. Use at your own risk!");
+
        error = xfs_mountfs(mp);
        if (error)
                goto out_filestream_unmount;