firewire: cdev: fix race of fw_device_op_release with bus reset
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 14 Dec 2008 18:19:23 +0000 (19:19 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:38 +0000 (20:56 +0100)
commit97811e347310766030a648fdf0e407b2c91a39c1
tree61710722bac7ffd91915e09f42e0412727bba53b
parent1f3125af8ed7410cc0ebcc0acd59bbfc1ae0057a
firewire: cdev: fix race of fw_device_op_release with bus reset

Unlink the client from the fw_device earlier in order to prevent bus
reset events being added to client->event_list during shutdown.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c