From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id mB339Tk1009582 for ; Tue, 2 Dec 2008 21:09:30 -0600 Received: from ipmail05.adl2.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3D696166E531 for ; Tue, 2 Dec 2008 19:09:28 -0800 (PST) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by cuda.sgi.com with ESMTP id KuFCRbLmFQU0MRI7 for ; Tue, 02 Dec 2008 19:09:28 -0800 (PST) Date: Wed, 3 Dec 2008 14:01:28 +1100 From: Dave Chinner Subject: Re: [patch 14/22] remove leftovers of shared read-only support Message-ID: <20081203030128.GL18236@disturbed> References: <20081202160430.775774000@bombadil.infradead.org> <20081202160651.583993000@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20081202160651.583993000@bombadil.infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: xfs@oss.sgi.com 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 ...... > - 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 -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs