mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] pass struct path * to do_add_mount()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
d5686b444f
commit
8d66bf5481
5 changed files with 13 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue