xfs
[Top] [All Lists]

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

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [patch 14/22] remove leftovers of shared read-only support
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 3 Dec 2008 14:01:28 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20081202160651.583993000@xxxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
References: <20081202160430.775774000@xxxxxxxxxxxxxxxxxxxxxx> <20081202160651.583993000@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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@xxxxxx>

......

> -             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@xxxxxxxxxxxxx>

-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>