[PATCH] xfs: remove xfs_iput_new

Christoph Hellwig hch at infradead.org
Sat Jun 19 15:35:23 CDT 2010


On Tue, Jun 15, 2010 at 11:53:00AM +1000, Dave Chinner wrote:
> On Fri, Jun 11, 2010 at 12:18:24PM -0400, Christoph Hellwig wrote:
> > We never get an i_mode of 0 or a locked VFS inode until we pass in the
> > XFS_IGET_CREATE flag to xfs_iget, which makes xfs_iput_new equivalent to
> > xfs_iput for the only caller.
> > 
> > Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> Reviewed-by: Dave Chinner <dchinner at redhat.com>

There's in fact no need to lock the inode at all here, so this can
be replaced with IRELE.   I'll send an updated version with my next
batch of patches.




More information about the xfs mailing list