Searched refs:root_mnt (Results 1 – 2 of 2) sorted by relevance
149 struct vfsmount *root_mnt; in do_nfs4_mount() local194 root_mnt = fc_mount(root_fc); in do_nfs4_mount()197 if (IS_ERR(root_mnt)) in do_nfs4_mount()198 return PTR_ERR(root_mnt); in do_nfs4_mount()202 mntput(root_mnt); in do_nfs4_mount()206 dentry = mount_subtree(root_mnt, export_path); in do_nfs4_mount()
3724 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local3753 root_mnt = real_mount(root.mnt); in SYSCALL_DEFINE2()3756 root_parent = root_mnt->mnt_parent; in SYSCALL_DEFINE2()3761 if (!check_mnt(root_mnt) || !check_mnt(new_mnt)) in SYSCALL_DEFINE2()3769 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2()3774 if (!mnt_has_parent(root_mnt)) in SYSCALL_DEFINE2()3788 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */ in SYSCALL_DEFINE2()3789 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) { in SYSCALL_DEFINE2()3791 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED; in SYSCALL_DEFINE2()3794 attach_mnt(root_mnt, old_mnt, old_mp); in SYSCALL_DEFINE2()