From: Christoph Hellwig Date: Wed, 17 Feb 2010 19:34:57 +0000 (+0000) Subject: xfs: fix inode pincount check in fsync X-Git-Tag: v2.6.34-rc1~26^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024910cbac323ab2e5ad6d7fa7958799b04b9728;p=pandora-kernel.git xfs: fix inode pincount check in fsync 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 Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- Reading git-diff-tree failed