ieee1394: sbp2: safer agent reset in error handlers
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 14 Aug 2006 16:44:00 +0000 (18:44 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 17:34:30 +0000 (19:34 +0200)
commit1f427e8055b1ab408395d6da421d93783120484c
tree5d9ed71fc260589a6186ab5f04a91cac5b49afd1
parent09ee67abe997ee95cd3f6cc552fa9532bc722d83
ieee1394: sbp2: safer agent reset in error handlers

The scsi_host_template's eh_abort_handler and eh_device_reset_handler
are allowed to sleep.  Use this to run sbp2_agent_reset in the more
reliable mode which returns _after_ its write transaction was finished.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c