[PATCH] xfs: fix inode pincount check in fsync

Dave Chinner david at fromorbit.com
Wed Feb 17 16:53:45 CST 2010


On Wed, Feb 17, 2010 at 02:34:57PM -0500, Christoph Hellwig wrote:
> We need to hold the ilock to check the inode pincount safely.  While
> we're at it also remove the check for ip->i_itemp->ili_last_lsn, a
> pinned inode always has it set.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Dave Chinner <david at fromorbit.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list