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 50C5C29E07 for ; Thu, 2 May 2013 10:27:09 -0500 (CDT) Message-ID: <518285CE.7090703@sgi.com> Date: Thu, 02 May 2013 10:27:10 -0500 From: Mark Tinguely MIME-Version: 1.0 Subject: Re: [PATCH v3 1/2] xfs: Remove XFS_MOUNT_RETERR References: <51824DB3.9050904@oracle.com> In-Reply-To: <51824DB3.9050904@oracle.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Jeff Liu Cc: "xfs@oss.sgi.com" On 05/02/13 06:27, 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 "alignment check failed: sunit/swidth vs. blocksize(%d)", ^^^^ "alignment check failed: sunit/swidth vs. agsize(%d)", ^^^^ "alignment check failed: sunit(%d) less than bsize(%d)", ^^^^ ^^^^ I know you copied these statements verbatim, but I wonder why all these statements do not have a space between the type and value? Looks good. Reviewed-by: Mark Tinguely _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs