/* Drop a reference to a group. Free it if it's through.  */
void fsnotify_put_group(struct fsnotify_group *group)
/* Drop a reference to a group. Free it if it's through.  */
void fsnotify_put_group(struct fsnotify_group *group)
{
	if (!atomic_dec_and_mutex_lock(&group->refcnt, &fsnotify_grp_mutex))
		return;
	__fsnotify_evict_group(group);
	mutex_unlock(&fsnotify_grp_mutex);
	synchronize_srcu(&fsnotify_grp_srcu);
	fsnotify_recalc_global_mask();
	fsnotify_destroy_group(group);
}