This is a note to let you know that I've just added the patch titled
CIFS: Fix missing a decrement of inFlight value
to the 3.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
cifs-fix-missing-a-decrement-of-inflight-value.patch
and it can be found in the queue-3.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 0193e072268fe62c4b19ad4b05cd0d4b23c43bb9 Mon Sep 17 00:00:00 2001
From: Pavel Shilovsky <[email protected]>
Date: Wed, 3 Aug 2011 23:12:18 +0400
Subject: CIFS: Fix missing a decrement of inFlight value
From: Pavel Shilovsky <[email protected]>
commit 0193e072268fe62c4b19ad4b05cd0d4b23c43bb9 upstream.
if we failed on getting mid entry in cifs_call_async.
Signed-off-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
fs/cifs/transport.c | 2 ++
1 file changed, 2 insertions(+)
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -362,6 +362,8 @@ cifs_call_async(struct TCP_Server_Info *
mid = AllocMidQEntry(hdr, server);
if (mid == NULL) {
mutex_unlock(&server->srv_mutex);
+ atomic_dec(&server->inFlight);
+ wake_up(&server->request_q);
return -ENOMEM;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.0/cifs-fix-missing-a-decrement-of-inflight-value.patch
queue-3.0/cifs-convert-prefixpath-delimiters-in.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable