]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch
linux-ti33x-psp 3.2: update to 3.2.18
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 3.2.17 / 0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch
1 From dbef91f49d543a546ee1cbe3e839c97c69486744 Mon Sep 17 00:00:00 2001
2 From: Fred Isaman <iisaman@netapp.com>
3 Date: Fri, 20 Apr 2012 14:47:35 -0400
4 Subject: [PATCH 089/165] NFS: put open context on error in nfs_flush_multi
6 commit 8ccd271f7a3a846ce6f85ead0760d9d12994a611 upstream.
8 Signed-off-by: Fred Isaman <iisaman@netapp.com>
9 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
10 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
11 ---
12  fs/nfs/write.c |    2 +-
13  1 files changed, 1 insertions(+), 1 deletions(-)
15 diff --git a/fs/nfs/write.c b/fs/nfs/write.c
16 index 1dda78d..4efd421 100644
17 --- a/fs/nfs/write.c
18 +++ b/fs/nfs/write.c
19 @@ -974,7 +974,7 @@ out_bad:
20         while (!list_empty(res)) {
21                 data = list_entry(res->next, struct nfs_write_data, list);
22                 list_del(&data->list);
23 -               nfs_writedata_free(data);
24 +               nfs_writedata_release(data);
25         }
26         nfs_redirty_request(req);
27         return -ENOMEM;
28 -- 
29 1.7.7.6