summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch
new file mode 100644
index 00000000..aff198af
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0089-NFS-put-open-context-on-error-in-nfs_flush_multi.patch
@@ -0,0 +1,30 @@
1From dbef91f49d543a546ee1cbe3e839c97c69486744 Mon Sep 17 00:00:00 2001
2From: Fred Isaman <iisaman@netapp.com>
3Date: Fri, 20 Apr 2012 14:47:35 -0400
4Subject: [PATCH 089/165] NFS: put open context on error in nfs_flush_multi
5
6commit 8ccd271f7a3a846ce6f85ead0760d9d12994a611 upstream.
7
8Signed-off-by: Fred Isaman <iisaman@netapp.com>
9Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
10Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
11---
12 fs/nfs/write.c | 2 +-
13 1 files changed, 1 insertions(+), 1 deletions(-)
14
15diff --git a/fs/nfs/write.c b/fs/nfs/write.c
16index 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--
291.7.7.6
30