diff options
| -rw-r--r-- | fs/xfs/xfs_super.c | 12 | 
1 files changed, 4 insertions, 8 deletions
| diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 96388fb9adff..7aba628dc527 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1691,15 +1691,11 @@ xfs_fs_fill_super(  		goto out_filestream_unmount;  	} -	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; -		} +	if (xfs_sb_version_hasrmapbt(&mp->m_sb) && mp->m_sb.sb_rblocks) {  		xfs_alert(mp, -	"EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); +	"reverse mapping btree not compatible with realtime device!"); +		error = -EINVAL; +		goto out_filestream_unmount;  	}  	error = xfs_mountfs(mp); | 
