Searched refs:newmnt (Results 1 – 4 of 4) sorted by relevance
184 struct vfsmount *newmnt; in afs_d_automount() local188 newmnt = afs_mntpt_do_automount(path->dentry); in afs_d_automount()189 if (IS_ERR(newmnt)) in afs_d_automount()190 return newmnt; in afs_d_automount()192 mntget(newmnt); /* prevent immediate expiration */ in afs_d_automount()193 mnt_set_expiry(newmnt, &afs_vfsmounts); in afs_d_automount()196 _leave(" = %p", newmnt); in afs_d_automount()197 return newmnt; in afs_d_automount()
355 struct vfsmount *newmnt; in cifs_dfs_d_automount() local359 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()
53 mnt_set_expiry(newmnt, &afs_vfsmounts);
2924 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount() argument2941 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()