Home
last modified time | relevance | path

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

/fs/afs/
Dmntpt.c243 struct vfsmount *newmnt; in afs_d_automount() local
247 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()
/fs/cifs/
Dcifs_dfs_ref.c359 struct vfsmount *newmnt; in cifs_dfs_d_automount() local
363 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()
/fs/
Dnamespace.c1950 static int do_add_mount(struct mount *newmnt, struct path *path, int mnt_flags) in do_add_mount() argument
1975 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()