/* If the mount point's m_perag array is going to be reallocated, all outstanding cache entries must be flushed to avoid accessing reference count addresses that have been freed. The call to xfs_filestream_flush() must be made inside the block that holds the m_peraglock in write mode to do the reallocation.  */
void xfs_filestream_flush(xfs_mount_t *mp)
/* If the mount point's m_perag array is going to be reallocated, all outstanding cache entries must be flushed to avoid accessing reference count addresses that have been freed. The call to xfs_filestream_flush() must be made inside the block that holds the m_peraglock in write mode to do the reallocation.  */
void xfs_filestream_flush(xfs_mount_t *mp)
{
	xfs_mru_cache_flush(mp->m_filestream);
}