diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-04-20 20:47:35 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-20 20:57:30 +0200 |
commit | 8ccd271f7a3a846ce6f85ead0760d9d12994a611 (patch) | |
tree | 6f85cdf26023d05f2160f472318bac591233fa75 | |
parent | NFS: put open context on error in nfs_pagein_multi (diff) | |
download | linux-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>
-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; |