Commit 7212151a authored by Ben Collins's avatar Ben Collins

IEEE1394/SBP2(r1170): Unblock scsi requests specifically in the update callback.

parent 61f45594
...@@ -677,6 +677,10 @@ static int sbp2_update(struct unit_directory *ud) ...@@ -677,6 +677,10 @@ static int sbp2_update(struct unit_directory *ud)
*/ */
sbp2scsi_complete_all_commands(scsi_id, DID_BUS_BUSY); sbp2scsi_complete_all_commands(scsi_id, DID_BUS_BUSY);
/* Make sure we unblock requests (since this is likely after a bus
* reset). */
scsi_unblock_requests(scsi_id->scsi_host);
return 0; return 0;
} }
...@@ -2544,8 +2548,6 @@ static void sbp2scsi_complete_all_commands(struct scsi_id_instance_data *scsi_id ...@@ -2544,8 +2548,6 @@ static void sbp2scsi_complete_all_commands(struct scsi_id_instance_data *scsi_id
} }
} }
scsi_unblock_requests(scsi_id->scsi_host);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment