diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-02-26 12:01:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-26 16:06:12 -0500 |
commit | e5b3fa1547283b25d5e68ad2563b7e7dd8cb1209 (patch) | |
tree | a8c1d220dd2e18c085541e6978cbccc0e0e2c180 /block/blk-mq-tag.h | |
parent | c73b1f6a049d3dd0ba9d65da483483515282a5f0 (diff) |
isdn: pcbit: fix interruptible_sleep_on race
interruptible_sleep_on is racy and going away. In case of pcbit,
the driver would run into a timeout if the card is initialized
before we start waiting for it. This uses wait_event to fix the
race. In order to do this, the state machine handling for the
timeout case has to get trivially reorganized so we actually know
whether the timeout has occorred or not.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions