[PATCH] xfs: be more explicit if RT mount fails due to config

Christoph Hellwig hch at infradead.org
Fri Apr 30 11:40:02 CDT 2010


> +	if (mp->m_sb.sb_rblocks == 0)
> +		return 0;
> +	else {
> +		cmn_err(CE_WARN, "XFS: Not built with CONFIG_XFS_RT");
> +		return ENOSYS;
> +	}

No need for the else if you return anyway.

Looks good either way,


Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list