Input: uinput - mark failed submission requests as free
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Jul 2012 05:48:32 +0000 (22:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 22 Aug 2012 05:29:54 +0000 (22:29 -0700)
If uinput_request_submit() fails after new request ID was allocated
we need to mark that request ID as free, otherwise it will always
stay occupied and we may run out of available IDs.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found