From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 516247F58 for ; Thu, 2 May 2013 10:34:27 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay3.corp.sgi.com (Postfix) with ESMTP id F09B8AC002 for ; Thu, 2 May 2013 08:34:23 -0700 (PDT) Message-ID: <51828777.4060409@oracle.com> Date: Thu, 02 May 2013 23:34:15 +0800 From: Jeff Liu MIME-Version: 1.0 Subject: Re: [PATCH v3 1/2] xfs: Remove XFS_MOUNT_RETERR References: <51824DB3.9050904@oracle.com> <518285CE.7090703@sgi.com> In-Reply-To: <518285CE.7090703@sgi.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: Mark Tinguely Cc: "xfs@oss.sgi.com" On 05/02/2013 11:27 PM, Mark Tinguely wrote: > 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 the old statements violate the above rule(don't have a space between them) as there are many places formating the statements with a space. Thanks, -Jeff > > Looks good. > > Reviewed-by: Mark Tinguely > > _______________________________________________ > xfs mailing list > xfs@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/xfs > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs