Searched refs:newmnt (Results 1 – 3 of 3) sorted by relevance
185 struct vfsmount *newmnt; in afs_d_automount() local189 newmnt = afs_mntpt_do_automount(path->dentry); in afs_d_automount()190 if (IS_ERR(newmnt)) in afs_d_automount()191 return newmnt; in afs_d_automount()193 mntget(newmnt); /* prevent immediate expiration */ in afs_d_automount()194 mnt_set_expiry(newmnt, &afs_vfsmounts); in afs_d_automount()197 _leave(" = %p", newmnt); in afs_d_automount()198 return newmnt; in afs_d_automount()
403 struct vfsmount *newmnt; in cifs_dfs_d_automount() local407 newmnt = cifs_dfs_do_automount(path->dentry); in cifs_dfs_d_automount()408 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()410 return newmnt; in cifs_dfs_d_automount()413 mntget(newmnt); /* prevent immediate expiration */ in cifs_dfs_d_automount()414 mnt_set_expiry(newmnt, &cifs_dfs_automount_list); in cifs_dfs_d_automount()418 return newmnt; in cifs_dfs_d_automount()
2730 static int do_add_mount(struct mount *newmnt, struct path *path, int mnt_flags) in do_add_mount() argument2755 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && in do_add_mount()2760 if (d_is_symlink(newmnt->mnt.mnt_root)) in do_add_mount()2763 newmnt->mnt.mnt_flags = mnt_flags; in do_add_mount()2764 err = graft_tree(newmnt, parent, mp); in do_add_mount()