]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/namespace.c
[PATCH] pass struct path * to do_add_mount()
[linux-2.6-omap-h63xx.git] / fs / nfs / namespace.c
index 2f285ef76399f227283146fc15d05a30508f6dbd..66df08dd1cafbb41cdbb7864128b0920e0c8dbd3 100644 (file)
@@ -129,7 +129,7 @@ static void * nfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)
                goto out_err;
 
        mntget(mnt);
-       err = do_add_mount(mnt, nd, nd->path.mnt->mnt_flags|MNT_SHRINKABLE,
+       err = do_add_mount(mnt, &nd->path, nd->path.mnt->mnt_flags|MNT_SHRINKABLE,
                           &nfs_automount_list);
        if (err < 0) {
                mntput(mnt);