]> err.no Git - linux-2.6/blobdiff - fs/nfs/inode.c
Merge branch 'linus' into x86/memtest
[linux-2.6] / fs / nfs / inode.c
index 421d338c698cffdbc2ab67faad958ef112240a6c..596c5d8e86f4783f78699ae685911958699162d5 100644 (file)
@@ -541,8 +541,7 @@ static void __put_nfs_open_context(struct nfs_open_context *ctx, int wait)
        }
        if (ctx->cred != NULL)
                put_rpccred(ctx->cred);
-       dput(ctx->path.dentry);
-       mntput(ctx->path.mnt);
+       path_put(&ctx->path);
        kfree(ctx);
 }