/* xfs_filestream_mount() is called when a file system is mounted with the filestream option. It is responsible for allocating the data structures needed to track the new file system's file streams.  */
int xfs_filestream_mount(xfs_mount_t *mp)
/* xfs_filestream_mount() is called when a file system is mounted with the filestream option. It is responsible for allocating the data structures needed to track the new file system's file streams.  */
int xfs_filestream_mount(xfs_mount_t *mp)
{
	int		err;
	unsigned int	lifetime, grp_count;
	lifetime  = xfs_fstrm_centisecs * 10;
	grp_count = 10;
	err = xfs_mru_cache_create(&mp->m_filestream, lifetime, grp_count,
	                     xfs_fstrm_free_func);
	return err;
}