Commit 8ccd271f authored by Fred Isaman's avatar Fred Isaman Committed by Trond Myklebust

NFS: put open context on error in nfs_flush_multi

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarFred Isaman <iisaman@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 73fb7bc7
...@@ -1019,7 +1019,7 @@ static int nfs_flush_multi(struct nfs_pageio_descriptor *desc, struct list_head ...@@ -1019,7 +1019,7 @@ static int nfs_flush_multi(struct nfs_pageio_descriptor *desc, struct list_head
while (!list_empty(res)) { while (!list_empty(res)) {
data = list_entry(res->next, struct nfs_write_data, list); data = list_entry(res->next, struct nfs_write_data, list);
list_del(&data->list); list_del(&data->list);
nfs_writedata_free(data); nfs_writedata_release(data);
} }
nfs_redirty_request(req); nfs_redirty_request(req);
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment