Re: [PATCH 08/18] fs: add inode reference coutn read accessor

Christoph Hellwig
2010-10-08T07:24:12Z

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.