From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 08/18] fs: add inode reference coutn read accessor Date: Fri, 8 Oct 2010 03:24:10 -0400 Message-ID: <20101008072410.GA7831@lst.de> References: <1286515292-15882-1-git-send-email-david@fromorbit.com> <1286515292-15882-9-git-send-email-david@fromorbit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Dave Chinner Return-path: Content-Disposition: inline In-Reply-To: <1286515292-15882-9-git-send-email-david@fromorbit.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Oct 08, 2010 at 04:21:22PM +1100, Dave Chinner wrote: > From: Dave Chinner > > To remove most of the remaining direct references to the inode > reference count, add an iref_read() accessor function to read the > current reference count. New users of this function should be > frowned upon, as there is rarely a good reason for looking at the > current reference count. IMHO adding this is rather pointless, it's not really buying us anything. But at least it looks correct.