/* create_mnt_ns - creates a private namespace and adds a root filesystem @mnt: pointer to the new root filesystem mountpoint  */
struct mnt_namespace* create_mnt_ns(struct vfsmount *mnt)
/* create_mnt_ns - creates a private namespace and adds a root filesystem @mnt: pointer to the new root filesystem mountpoint  */
struct mnt_namespace* create_mnt_ns(struct vfsmount *mnt)
{
	struct mnt_namespace *new_ns;
	new_ns = alloc_mnt_ns();
	if (!IS_ERR(new_ns)) {
		mnt->mnt_ns = new_ns;
		new_ns->root = mnt;
		list_add(&new_ns->list, &new_ns->root->mnt_list);
	}
	return new_ns;
}