diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-04-20 22:47:35 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-20 22:57:30 +0400 |
commit | 8ccd271f7a3a846ce6f85ead0760d9d12994a611 (patch) | |
tree | 6f85cdf26023d05f2160f472318bac591233fa75 /fs/nfs/write.c | |
parent | 73fb7bc7c57d971b11f2e00536ac2d3e316e0609 (diff) | |
download | linux-8ccd271f7a3a846ce6f85ead0760d9d12994a611.tar.xz |
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/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
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; |