From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 4FDF67CBF for ; Wed, 19 Jun 2013 14:55:10 -0500 (CDT) Date: Wed, 19 Jun 2013 14:55:06 -0500 From: Ben Myers Subject: Re: [PATCH v3 1/2] xfs: Remove XFS_MOUNT_RETERR Message-ID: <20130619195506.GS20932@sgi.com> References: <51824DB3.9050904@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <51824DB3.9050904@oracle.com> 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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Jeff Liu Cc: Mark Tinguely , "xfs@oss.sgi.com" On Thu, May 02, 2013 at 07:27:47PM +0800, Jeff Liu wrote: > From: Jie Liu > > XFS_MOUNT_RETERR is going to be set at xfs_parseargs() if > mp->m_dalign is enabled, so any time we enter "if (mp->m_dalign)" > branch in xfs_update_alignment(), XFS_MOUNT_RETERR is set and so > we always be emitting a warning and returning an error. > > Hence, we can remove it and get rid of a couple of redundant > check up against it at xfs_upate_alignment(). > > Thanks Dave Chinner for the suggestions of simplify the code > in xfs_parseargs(). > > Signed-off-by: Jie Liu > Cc: Dave Chinner > Cc: Mark Tinguely Applied. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs