]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: Use only a wait queue and terminate poll and read on device removal.
authorKristian Høgsberg <krh@redhat.com>
Wed, 7 Mar 2007 17:12:48 +0000 (12:12 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:03:11 +0000 (22:03 +0100)
commitf0938107b51519e6edfdcd3e13f6115710d8e133
tree1e18057a1a7e4f22c0b7eaec1b3330ad426cdb72
parentbaf6f6fcbc9aaa7eadb0d62a824b20471f9a3d16
firewire: Use only a wait queue and terminate poll and read on device removal.

Drop the event list semaphore and only use the wait queue and the list
to synchronize queue access.  Break out of a poll or read whenever
the device is disconnected.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device.c
drivers/firewire/fw-device.h