From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p1O1blF7097440 for ; Wed, 23 Feb 2011 19:37:47 -0600 Received: from ipmail07.adl2.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E26382F8045 for ; Wed, 23 Feb 2011 17:40:31 -0800 (PST) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id yCFeCxxLWKg55fNu for ; Wed, 23 Feb 2011 17:40:31 -0800 (PST) Date: Thu, 24 Feb 2011 12:40:30 +1100 From: Dave Chinner Subject: Re: [PATCH v3, 06/16] xfsprogs: metadump: replace repeated blocks with a loop Message-ID: <20110224014030.GT3166@dastard> References: <201102182121.p1ILL1Fx029087@stout.americas.sgi.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201102182121.p1ILL1Fx029087@stout.americas.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 Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Alex Elder Cc: xfs@oss.sgi.com On Fri, Feb 18, 2011 at 03:21:01PM -0600, Alex Elder wrote: > Each of the last five characters in the obfuscated name are > generated the same way. Replace that repeated block of code > with an equivalent loop. > > Signed-off-by: Alex Elder Nice simplification. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs