summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2008-03-06 05:43:11 +0300
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-18 05:34:54 +0400
commit461aa8a22595e3bd3e6f4dc2894d7c4315ea2bb9 (patch)
tree52cef56ec70610b9e0dd1fac355d646e827c0102 /fs/xfs/xfs_vfsops.c
parente12070a5dca8bfeee352e9655ae79772a96b32f8 (diff)
downloadlinux-461aa8a22595e3bd3e6f4dc2894d7c4315ea2bb9.tar.xz
[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 <lachlan@sgi.com> Signed-off-by: David Chinner <dgc@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions