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().
Date: Fri Feb 8 17:40:49 AEDT 2008
Inspected by: dgc
The following file(s) were checked into:
fs/xfs/xfs_vnodeops.c - 1.731 - changed
- make inode reclaim synchronise with xfs_iflush_done()