Home
last modified time | relevance | path

Searched refs:newmount (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/fs/
Dnamespace.c3447 struct path newmount; in SYSCALL_DEFINE3() local
3524 newmount.mnt = vfs_create_mount(fc); in SYSCALL_DEFINE3()
3525 if (IS_ERR(newmount.mnt)) { in SYSCALL_DEFINE3()
3526 ret = PTR_ERR(newmount.mnt); in SYSCALL_DEFINE3()
3529 newmount.dentry = dget(fc->root); in SYSCALL_DEFINE3()
3530 newmount.mnt->mnt_flags = mnt_flags; in SYSCALL_DEFINE3()
3544 mnt = real_mount(newmount.mnt); in SYSCALL_DEFINE3()
3549 mntget(newmount.mnt); in SYSCALL_DEFINE3()
3554 file = dentry_open(&newmount, O_PATH, fc->cred); in SYSCALL_DEFINE3()
3556 dissolve_on_fput(newmount.mnt); in SYSCALL_DEFINE3()
[all …]
/Linux-v5.10/Documentation/filesystems/
Dramfs-rootfs-initramfs.rst128 with the new root (cd /newmount; mount --move . /; chroot .), attach