]> git.hungrycats.org Git - linux/commit
[PCMCIA] Get rid of racy interruptible_sleep_on()
authorRussell King <rmk@flint.arm.linux.org.uk>
Sun, 18 Jan 2004 19:10:04 +0000 (19:10 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 18 Jan 2004 19:10:04 +0000 (19:10 +0000)
commit64baa00b98666e0a395c2e6056d8d420eef9f985
tree72c38903078b443de149b31083db06cebb1d4bcb
parent3b32a7e75e9455283192df9a00a91ff6ff4055cb
[PCMCIA] Get rid of racy interruptible_sleep_on()

ds.c uses interruptible_sleep_on() without any protection.  Use
wait_event_interruptible() instead.

In addition, fix a bug where threads waiting for cardmgr events to
complete were left waiting if cardmgr exited.
drivers/pcmcia/ds.c