]> err.no Git - linux-2.6/blobdiff - fs/nfs/namespace.c
[PATCH] configfs: Consolidate locking around configfs_detach_prep() in configfs_rmdir()
[linux-2.6] / 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);