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 o43Fh3hN161622 for ; Mon, 3 May 2010 10:43:05 -0500 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7EA84308BC1 for ; Mon, 3 May 2010 08:45:11 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id BQmuZCfbq2rTVskX for ; Mon, 03 May 2010 08:45:11 -0700 (PDT) Received: from hch by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1O8xpW-0004db-SH for xfs@oss.sgi.com; Mon, 03 May 2010 15:45:10 +0000 Date: Mon, 3 May 2010 11:45:10 -0400 From: Christoph Hellwig Subject: Re: [PATCH] xfs: kill xfs_trans_find_item Message-ID: <20100503154510.GA15411@infradead.org> References: <20100503133447.GA21325@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100503133447.GA21325@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: xfs@oss.sgi.com On Mon, May 03, 2010 at 09:34:47AM -0400, Christoph Hellwig wrote: > xfs_trans_find_item is just and awkward way to derefence ->li_desc in > the log_item structure. So replace the calls to it with the direct > reference, and while we're at it also make these type-safe instead using > casts. Actually, ignore this patch for now. I have a larger one that will incorporate it. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs