commit | 8d66bf5481002b0960aa49aed0987c73f5d7816c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 01 09:05:54 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 01 11:25:32 2008 -0400 |
tree | 7beac720e1df882a1cd4d6d09e6ac25ddd04b399 | |
parent | d5686b444ff3f72808d2b3fbd58672a86cdf38e7 [diff] [blame] |
[PATCH] pass struct path * to do_add_mount() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/afs/mntpt.c b/fs/afs/mntpt.c index 2f55039..78db495 100644 --- a/fs/afs/mntpt.c +++ b/fs/afs/mntpt.c
@@ -232,7 +232,7 @@ } 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);