summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-cpu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-01-02 13:07:49 +0100
committerTakashi Iwai <tiwai@suse.de>2014-01-14 16:01:27 +0100
commit7bd6972a921e148beea54919a00aa7b0bf046ff1 (patch)
tree37e0f74ceba884d3a2af13b8bf7e8d2a412619c9 /block/blk-mq-cpu.c
parent1a21576562507b2b10b9aa53555857868fe51c94 (diff)
downloadtalos-obmc-linux-7bd6972a921e148beea54919a00aa7b0bf046ff1.tar.gz
talos-obmc-linux-7bd6972a921e148beea54919a00aa7b0bf046ff1.zip
sound: oss: vwsnd: avoid interruptible_sleep_on
Interruptible_sleep_on is racy and we want to remove it. This replaces the use in the vwsnd driver with an open-coded prepare_to_wait loop that fixes the race between concurrent open() and close() calls, and also drops the global mutex while waiting here, which restores the original behavior that was changed during the BKL removal. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block/blk-mq-cpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud