firewire: cdev: always wait for outbound transactions to complete
authorClemens Ladisch <clemens@ladisch.de>
Mon, 10 Jan 2011 16:28:39 +0000 (17:28 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 23 Jan 2011 11:31:00 +0000 (12:31 +0100)
commit5a5e62da9be255439e8ce59f96828775b7b33374
tree61c3154c6574f52b0b2981ad7698275fc0693c5b
parent3e204dfcaff0e7f6c4d9873fb8c9d948ec5ab2da
firewire: cdev: always wait for outbound transactions to complete

We must not use fw_cancel_transaction() because it cannot correctly
abort still-active transactions.  The only place in core-cdev where this
matters is when the file is released.  Instead of trying to abort the
transactions, we wait for them to complete normally, i.e., until all
outbound transaction resources have been removed from the IDR tree.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: "Stefan Richter" <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-cdev.c