/* inotify_user_setup - Our initialization function. Note that we cannnot return error because we have compiled-in VFS hooks. So an (unlikely) failure here must result in panic().  */
static int __init inotify_user_setup(void)
/* inotify_user_setup - Our initialization function. Note that we cannnot return error because we have compiled-in VFS hooks. So an (unlikely) failure here must result in panic().  */
static int __init inotify_user_setup(void)
{
	int ret;
	ret = register_filesystem(&inotify_fs_type);
	if (unlikely(ret))
		panic("inotify: register_filesystem returned %d!\n", ret);
	inotify_mnt = kern_mount(&inotify_fs_type);
	if (IS_ERR(inotify_mnt))
		panic("inotify: kern_mount ret %ld!\n", PTR_ERR(inotify_mnt));
	inotify_inode_mark_cachep = KMEM_CACHE(inotify_inode_mark_entry, SLAB_PANIC);
	event_priv_cachep = KMEM_CACHE(inotify_event_private_data, SLAB_PANIC);
	inotify_max_queued_events = 16384;
	inotify_max_user_instances = 128;
	inotify_max_user_watches = 8192;
	return 0;
}