]> err.no Git - linux-2.6/commit
[PATCH] pcmcia: fix task state at pccard thread exit
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 10 Oct 2005 15:13:17 +0000 (11:13 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Oct 2005 15:33:27 +0000 (08:33 -0700)
commit220ec0291130a932b32b2c66a10e9c5019dab702
tree3b9336e0637dc55776c5b86657126c83339d096d
parent2e457ef667158840c1be511f5d10dd42c6dbbe46
[PATCH] pcmcia: fix task state at pccard thread exit

The pccardd thread has a race in it that it can shutdown in the
TASK_INTERRUPTIBLE state.

Make sure we mark ourselves runnable again as we remove ourselves from
the wait queue.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/cs.c