diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2008-03-06 13:43:11 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-18 11:34:54 +1000 |
commit | 461aa8a22595e3bd3e6f4dc2894d7c4315ea2bb9 (patch) | |
tree | 52cef56ec70610b9e0dd1fac355d646e827c0102 /fs/xfs/xfs_log.h | |
parent | e12070a5dca8bfeee352e9655ae79772a96b32f8 (diff) |
[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_log.h')
0 files changed, 0 insertions, 0 deletions