Messages in this thread | | | Date | Fri, 8 Oct 2010 03:24:10 -0400 | From | Christoph Hellwig <> | Subject | Re: [PATCH 08/18] fs: add inode reference coutn read accessor |
| |
On Fri, Oct 08, 2010 at 04:21:22PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@redhat.com> > > 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.
| |