Home
last modified time | relevance | path

Searched refs:newmnt (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/afs/
Dmntpt.c178 struct vfsmount *newmnt; in afs_d_automount() local
182 newmnt = afs_mntpt_do_automount(path->dentry); in afs_d_automount()
183 if (IS_ERR(newmnt)) in afs_d_automount()
184 return newmnt; in afs_d_automount()
186 mntget(newmnt); /* prevent immediate expiration */ in afs_d_automount()
187 mnt_set_expiry(newmnt, &afs_vfsmounts); in afs_d_automount()
190 _leave(" = %p", newmnt); in afs_d_automount()
191 return newmnt; in afs_d_automount()
/linux-6.1.9/fs/cifs/
Dcifs_dfs_ref.c355 struct vfsmount *newmnt; in cifs_dfs_d_automount() local
359 newmnt = cifs_dfs_do_automount(path->dentry); in cifs_dfs_d_automount()
360 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()
362 return newmnt; in cifs_dfs_d_automount()
365 mntget(newmnt); /* prevent immediate expiration */ in cifs_dfs_d_automount()
366 mnt_set_expiry(newmnt, &cifs_dfs_automount_list); in cifs_dfs_d_automount()
370 return newmnt; in cifs_dfs_d_automount()
/linux-6.1.9/Documentation/filesystems/
Dautomount-support.rst53 mnt_set_expiry(newmnt, &afs_vfsmounts);
/linux-6.1.9/fs/
Dnamespace.c2924 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount() argument
2941 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && in do_add_mount()
2945 if (d_is_symlink(newmnt->mnt.mnt_root)) in do_add_mount()
2948 newmnt->mnt.mnt_flags = mnt_flags; in do_add_mount()
2949 return graft_tree(newmnt, parent, mp); in do_add_mount()