mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 13:05:03 +08:00
05cebd3816
The destruction of a input device in uinput is triggered by an ioctl(). If a process tries to destroy an input device while other is uploading a force feedback effect by evdev to the same device, they'll deadlock. This patch fixes the problem by flushing all pending FF uploads before destroying the device and preventing new uploads during this operation. [dtor@mail.ru: fix logic that ensures we don't submit new requests to the device that is being destroyed.] Signed-off-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
||
---|---|---|
.. | ||
apanel.c | ||
ati_remote2.c | ||
ati_remote.c | ||
atlas_btns.c | ||
cm109.c | ||
cobalt_btns.c | ||
dm355evm_keys.c | ||
hp_sdc_rtc.c | ||
ixp4xx-beeper.c | ||
Kconfig | ||
keyspan_remote.c | ||
m68kspkr.c | ||
Makefile | ||
pcf50633-input.c | ||
pcspkr.c | ||
powermate.c | ||
rb532_button.c | ||
rotary_encoder.c | ||
sgi_btns.c | ||
sparcspkr.c | ||
twl4030-pwrbutton.c | ||
uinput.c | ||
wistron_btns.c | ||
yealink.c | ||
yealink.h |