Searched refs:newmnt (Results 1 – 3 of 3) sorted by relevance
229 struct vfsmount *newmnt; in afs_d_automount() local233 newmnt = afs_mntpt_do_automount(path->dentry); in afs_d_automount()234 if (IS_ERR(newmnt)) in afs_d_automount()235 return newmnt; in afs_d_automount()237 mntget(newmnt); /* prevent immediate expiration */ in afs_d_automount()238 mnt_set_expiry(newmnt, &afs_vfsmounts); in afs_d_automount()241 _leave(" = %p", newmnt); in afs_d_automount()242 return newmnt; in afs_d_automount()
365 struct vfsmount *newmnt; in cifs_dfs_d_automount() local369 newmnt = cifs_dfs_do_automount(path->dentry); in cifs_dfs_d_automount()370 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()372 return newmnt; in cifs_dfs_d_automount()375 mntget(newmnt); /* prevent immediate expiration */ in cifs_dfs_d_automount()376 mnt_set_expiry(newmnt, &cifs_dfs_automount_list); in cifs_dfs_d_automount()380 return newmnt; in cifs_dfs_d_automount()
2452 static int do_add_mount(struct mount *newmnt, struct path *path, int mnt_flags) in do_add_mount() argument2477 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && in do_add_mount()2482 if (d_is_symlink(newmnt->mnt.mnt_root)) in do_add_mount()2485 newmnt->mnt.mnt_flags = mnt_flags; in do_add_mount()2486 err = graft_tree(newmnt, parent, mp); in do_add_mount()