[PATCH] pass struct path * to do_add_mount()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2008-08-01 09:05:54 -04:00
commit 8d66bf5481
5 changed files with 13 additions and 12 deletions

View file

@ -232,7 +232,7 @@ static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd)
}
mntget(newmnt);
err = do_add_mount(newmnt, nd, MNT_SHRINKABLE, &afs_vfsmounts);
err = do_add_mount(newmnt, &nd->path, MNT_SHRINKABLE, &afs_vfsmounts);
switch (err) {
case 0:
path_put(&nd->path);