From: David Howells <dhowells@redhat.com>
To: torvalds@transmeta.com
Cc: Chris Wright <chris@wirex.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] missing put in AFS client
Date: Fri, 18 Oct 2002 09:06:19 +0100 [thread overview]
Message-ID: <10835.1034928379@warthog.cambridge.redhat.com> (raw)
Hi Linus,
This patch fixes a bug in my AFS client in which a put of an outstanding call
was missing in the unmount cleanup code. This occasionally resulted in the AFS
module becoming unremovable.
David
diff -ur -x '*.o' -x '*.cmd' -x '*~' linux-2.5.43/fs/afs/cmservice.c afs-devel/fs/afs/cmservice.c
--- linux-2.5.43/fs/afs/cmservice.c 2002-10-16 09:25:59.000000000 +0100
+++ afs-devel/fs/afs/cmservice.c 2002-10-18 08:57:44.000000000 +0100
@@ -129,11 +129,7 @@
/* only certain signals are of interest */
spin_lock_irq(¤t->sig->siglock);
siginitsetinv(¤t->blocked,0);
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,3)
recalc_sigpending();
-#else
- recalc_sigpending(current);
-#endif
spin_unlock_irq(¤t->sig->siglock);
/* loop around looking for things to attend to */
@@ -360,6 +356,9 @@
rxrpc_call_abort(call,-ESRCH); /* abort, dequeue and put */
+ _debug("nuking active call %08x.%d",
+ ntohl(call->conn->conn_id),ntohl(call->call_id));
+ rxrpc_put_call(call);
rxrpc_put_call(call);
spin_lock(&afscm_calls_lock);
reply other threads:[~2002-10-18 8:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10835.1034928379@warthog.cambridge.redhat.com \
--to=dhowells@redhat.com \
--cc=chris@wirex.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®