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

From: Christoph Hellwig
Date: Fri Oct 08 2010 - 03:24:16 EST


On Fri, Oct 08, 2010 at 04:21:22PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
>
> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/