[patch 14/22] remove leftovers of shared read-only support
Dave Chinner
david at fromorbit.com
Tue Dec 2 21:01:28 CST 2008
On Tue, Dec 02, 2008 at 11:04:44AM -0500, Christoph Hellwig wrote:
> We never supported shared read-only filesystems, so remove the dead
> code left over from IRIX for it.
>
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
......
> - if (!ronly || !(mp->m_sb.sb_flags & XFS_SBF_READONLY) ||
> - (mp->m_sb.sb_shared_vn != 0))
> - return XFS_ERROR(EINVAL);
> -
> - mp->m_flags |= XFS_MOUNT_SHARED;
You can kill XFS_MOUNT_SHARED from xfs_mount.h as well.
Reviewed-by: Dave Chinner <david at fromorbit.com>
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list