diff options
| author | 2010-03-09 20:38:48 -0800 | |
|---|---|---|
| committer | 2010-03-09 22:05:57 -0800 | |
| commit | 2f2177c8dadbcb08c14f796ac983c5475eca1bd3 (patch) | |
| tree | 719c9f14280ca717e1651653e892179fb304590a /net/unix/sysctl_net_unix.c | |
| parent | Input: serio_raw - remove BKL (diff) | |
| download | wireguard-linux-2f2177c8dadbcb08c14f796ac983c5475eca1bd3.tar.xz wireguard-linux-2f2177c8dadbcb08c14f796ac983c5475eca1bd3.zip | |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
