diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-04-20 14:47:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 08:53:18 -0700 |
commit | 3fe0c6c3bf2c2915f80e292ff1cb908ee31acd7e (patch) | |
tree | 29c43c88d5740cb99ef9d0faaf89b4375ea72cb6 | |
parent | f6d3944b30bba96911b06b990ff9538a24006cb4 (diff) | |
download | lwn-3fe0c6c3bf2c2915f80e292ff1cb908ee31acd7e.tar.gz lwn-3fe0c6c3bf2c2915f80e292ff1cb908ee31acd7e.zip |
NFS: put open context on error in nfs_pagein_multi
commit 73fb7bc7c57d971b11f2e00536ac2d3e316e0609 upstream.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | fs/nfs/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index cfa175c223dc..41bae32c4496 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c @@ -324,7 +324,7 @@ out_bad: while (!list_empty(res)) { data = list_entry(res->next, struct nfs_read_data, list); list_del(&data->list); - nfs_readdata_free(data); + nfs_readdata_release(data); } nfs_readpage_release(req); return -ENOMEM; |