aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2012-04-20 14:47:35 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-20 14:57:30 -0400
commit8ccd271f7a3a846ce6f85ead0760d9d12994a611 (patch)
tree6f85cdf26023d05f2160f472318bac591233fa75 /fs/nfs
parent73fb7bc7c57d971b11f2e00536ac2d3e316e0609 (diff)
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/nfs')
-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 9b8d4d42a8a..c07462320f6 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;