diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-04-29 17:12:12 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-04-29 17:25:01 +0200 |
commit | 89092ddd7aca598e3b8874f7a49216e7917d8f3f (patch) | |
tree | 138fe216f5659a8022bf45cc319e18a3e0595a2e /mm/mincore.c | |
parent | 2feaace40e5c3133fea795333402f30929a200d9 (diff) | |
download | op-kernel-dev-89092ddd7aca598e3b8874f7a49216e7917d8f3f.zip op-kernel-dev-89092ddd7aca598e3b8874f7a49216e7917d8f3f.tar.gz |
HID: fix possible deadlock in usbhid_close()
This patch switches usbhid_close() from flush_scheduled_work() to canceling
the outstanding work. This fixes a possible deadlock due to work taking
the mutex usbhid_close() holds. Lockdep reported the problem.
Signed-off-by: Oliver Neukum <oliver@neukum.org>
--
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions