Searched refs:root_mnt (Results 1 – 2 of 2) sorted by relevance
/fs/nfs/ |
D | nfs4super.c | 133 struct vfsmount *root_mnt; in nfs_do_root_mount() local 146 root_mnt = vfs_kern_mount(fs_type, flags, root_devname, data); in nfs_do_root_mount() 148 return root_mnt; in nfs_do_root_mount() 217 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, in nfs_follow_remote_path() argument 223 if (IS_ERR(root_mnt)) in nfs_follow_remote_path() 224 return ERR_CAST(root_mnt); in nfs_follow_remote_path() 228 mntput(root_mnt); in nfs_follow_remote_path() 232 dentry = mount_subtree(root_mnt, export_path); in nfs_follow_remote_path() 243 struct vfsmount *root_mnt; in nfs4_try_mount() local 251 root_mnt = nfs_do_root_mount(&nfs4_remote_fs_type, flags, mount_info, in nfs4_try_mount() [all …]
|
/fs/ |
D | namespace.c | 3650 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local 3679 root_mnt = real_mount(root.mnt); in SYSCALL_DEFINE2() 3682 root_parent = root_mnt->mnt_parent; in SYSCALL_DEFINE2() 3687 if (!check_mnt(root_mnt) || !check_mnt(new_mnt)) in SYSCALL_DEFINE2() 3695 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2() 3700 if (!mnt_has_parent(root_mnt)) in SYSCALL_DEFINE2() 3714 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */ in SYSCALL_DEFINE2() 3715 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) { in SYSCALL_DEFINE2() 3717 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED; in SYSCALL_DEFINE2() 3720 attach_mnt(root_mnt, old_mnt, old_mp); in SYSCALL_DEFINE2()
|