Input: uinput - don't use "interruptible" in FF code
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:51:43 +0000 (00:51 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:51:43 +0000 (00:51 -0500)
commite597f0c80de7e2ef840b28d111ec532988abc432
tree2d8c36d705c27dd081cbd7a6907257d3ad43c8e0
parent59c7c0377e00a3cbd7b71631177fb92166ceb437
Input: uinput - don't use "interruptible" in FF code

If thread that submitted FF request gets interrupted somehow it
will release request structure and ioctl handler will work with
freed memory. TO prevent that from happening switch to using
wait_for_completion instead of wait_for_completion_interruptible.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/uinput.c