summaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2012-04-20 20:47:34 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-20 20:54:48 +0200
commit73fb7bc7c57d971b11f2e00536ac2d3e316e0609 (patch)
tree0c7811107bb4060c7cededa08492f4c004fc2ae8 /fs/nfs/read.c
parentNFSv4: Fix open(O_TRUNC) and ftruncate() error handling (diff)
downloadlinux-73fb7bc7c57d971b11f2e00536ac2d3e316e0609.tar.xz
linux-73fb7bc7c57d971b11f2e00536ac2d3e316e0609.zip
NFS: put open context on error in nfs_pagein_multi
Cc: <stable@vger.kernel.org> Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index 9a0e8ef4a409..0a4be28c2ea3 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -322,7 +322,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;