]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/afs/mntpt.c
Merge branch 'for-2.6.28' of git://linux-nfs.org/~bfields/linux
[linux-2.6-omap-h63xx.git] / fs / afs / mntpt.c
index 2f5503902c3757d469e594bd4d72400b35444939..78db4953a80047847b2d6098ca0c8bf4b30a76ef 100644 (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);