summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2012-04-20 20:47:35 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-20 20:57:30 +0200
commit8ccd271f7a3a846ce6f85ead0760d9d12994a611 (patch)
tree6f85cdf26023d05f2160f472318bac591233fa75 /fs
parentNFS: put open context on error in nfs_pagein_multi (diff)
downloadlinux-8ccd271f7a3a846ce6f85ead0760d9d12994a611.tar.xz
linux-8ccd271f7a3a846ce6f85ead0760d9d12994a611.zip
NFS: put open context on error in nfs_flush_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')
-rw-r--r--fs/nfs/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 9b8d4d42a8af..c07462320f6b 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1019,7 +1019,7 @@ out_bad:
while (!list_empty(res)) {
data = list_entry(res->next, struct nfs_write_data, list);
list_del(&data->list);
- nfs_writedata_free(data);
+ nfs_writedata_release(data);
}
nfs_redirty_request(req);
return -ENOMEM;