Re: [patch 14/22] remove leftovers of shared read-only support

Dave Chinner
2008-12-03T03:09:30Z

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@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@fromorbit.com>

--
Dave Chinner
david@fromorbit.com