From: Lachlan McIlroy Date: Thu, 6 Mar 2008 02:43:11 +0000 (+1100) Subject: [XFS] make inode reclaim synchronise with xfs_iflush_done() X-Git-Tag: v2.6.26-rc1~1147^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=461aa8a22595e3bd3e6f4dc2894d7c4315ea2bb9;p=pandora-kernel.git [XFS] make inode reclaim synchronise with xfs_iflush_done() On a forced shutdown, xfs_finish_reclaim() will skip flushing the inode. If the inode flush lock is not already held and there is an outstanding xfs_iflush_done() then we might free the inode prematurely. By acquiring and releasing the flush lock we will synchronise with xfs_iflush_done(). SGI-PV: 909874 SGI-Modid: xfs-linux-melb:xfs-kern:30468a Signed-off-by: Lachlan McIlroy Signed-off-by: David Chinner --- Reading git-diff-tree failed