[PATCH 1/6] xfs: fix inode validity check in xfs_iflush_cluster

Christoph Hellwig hch at infradead.org
Thu Apr 7 18:43:17 CDT 2016


On Fri, Apr 08, 2016 at 09:37:46AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> Some careless idiot(*) wrote crap code in commit 1a3e8f3 ("xfs:
> convert inode cache lookups to use RCU locking") back in late 2010,
> and so xfs_iflush_cluster checks the wrong inode for whether it is
> still valid under RCU protection. Fix it to lock and check the
> correct inode.

Looks fine,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list