aboutsummaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-03-09 20:38:48 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-03-09 22:05:57 -0800
commit2f2177c8dadbcb08c14f796ac983c5475eca1bd3 (patch)
tree719c9f14280ca717e1651653e892179fb304590a /lib/parser.c
parent77554b4d1fac6a66d4e624a6e36c020a4f5b6b64 (diff)
Input: remove BKL, fix input_open_file() locking
Holding the BKL in input_open_file seems pointless because it does not protect against updates of input_table, and all open functions from the underlying drivers have proper mutex locking. This makes input_open_file take the input_mutex when accessing the table and no lock when calling into the lower function. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions