Searched refs:newmnt (Results 1 – 3 of 3) sorted by relevance
243 struct vfsmount *newmnt; in afs_d_automount() local247 newmnt = afs_mntpt_do_automount(path->dentry); in afs_d_automount()248 if (IS_ERR(newmnt)) in afs_d_automount()249 return newmnt; in afs_d_automount()251 mntget(newmnt); /* prevent immediate expiration */ in afs_d_automount()252 mnt_set_expiry(newmnt, &afs_vfsmounts); in afs_d_automount()255 _leave(" = %p", newmnt); in afs_d_automount()256 return newmnt; in afs_d_automount()
359 struct vfsmount *newmnt; in cifs_dfs_d_automount() local363 newmnt = cifs_dfs_do_automount(path->dentry); in cifs_dfs_d_automount()364 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()366 return newmnt; in cifs_dfs_d_automount()369 mntget(newmnt); /* prevent immediate expiration */ in cifs_dfs_d_automount()370 mnt_set_expiry(newmnt, &cifs_dfs_automount_list); in cifs_dfs_d_automount()374 return newmnt; in cifs_dfs_d_automount()
1950 static int do_add_mount(struct mount *newmnt, struct path *path, int mnt_flags) in do_add_mount() argument1975 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && in do_add_mount()1980 if (S_ISLNK(newmnt->mnt.mnt_root->d_inode->i_mode)) in do_add_mount()1983 newmnt->mnt.mnt_flags = mnt_flags; in do_add_mount()1984 err = graft_tree(newmnt, parent, mp); in do_add_mount()