Searched refs:newmnt (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/afs/
H A Dmntpt.c229 struct vfsmount *newmnt; afs_d_automount() local
233 newmnt = afs_mntpt_do_automount(path->dentry); afs_d_automount()
234 if (IS_ERR(newmnt)) afs_d_automount()
235 return newmnt; afs_d_automount()
237 mntget(newmnt); /* prevent immediate expiration */ afs_d_automount()
238 mnt_set_expiry(newmnt, &afs_vfsmounts); afs_d_automount()
241 _leave(" = %p", newmnt); afs_d_automount()
242 return newmnt; afs_d_automount()
/linux-4.1.27/fs/cifs/
H A Dcifs_dfs_ref.c360 struct vfsmount *newmnt; cifs_dfs_d_automount() local
364 newmnt = cifs_dfs_do_automount(path->dentry); cifs_dfs_d_automount()
365 if (IS_ERR(newmnt)) { cifs_dfs_d_automount()
367 return newmnt; cifs_dfs_d_automount()
370 mntget(newmnt); /* prevent immediate expiration */ cifs_dfs_d_automount()
371 mnt_set_expiry(newmnt, &cifs_dfs_automount_list); cifs_dfs_d_automount()
375 return newmnt; cifs_dfs_d_automount()
/linux-4.1.27/fs/
H A Dnamespace.c2318 static int do_add_mount(struct mount *newmnt, struct path *path, int mnt_flags) do_add_mount() argument
2343 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && do_add_mount()
2348 if (d_is_symlink(newmnt->mnt.mnt_root)) do_add_mount()
2351 newmnt->mnt.mnt_flags = mnt_flags; do_add_mount()
2352 err = graft_tree(newmnt, parent, mp); do_add_mount()

Completed in 268 milliseconds