/* Flush delayed allocate data, attempting to free up reserved space from existing allocations. At this point a new allocation attempt has failed with ENOSPC and we are in the process of scratching our heads, looking about for more room...  */
STATIC void xfs_flush_inodes_work(struct xfs_mount *mp, void *arg)
/* Flush delayed allocate data, attempting to free up reserved space from existing allocations. At this point a new allocation attempt has failed with ENOSPC and we are in the process of scratching our heads, looking about for more room...  */
STATIC void xfs_flush_inodes_work(struct xfs_mount *mp, void *arg)
{
	struct inode	*inode = arg;
	xfs_sync_data(mp, SYNC_TRYLOCK);
	xfs_sync_data(mp, SYNC_TRYLOCK | SYNC_WAIT);
	iput(inode);
}