Commit c60eeb1f authored by James Bottomley's avatar James Bottomley

SCSI reservation/reset handling

Tidy up and eliminate remaining references to old error handler.
parent e294120b
...@@ -2749,15 +2749,7 @@ scsi_reset_provider(Scsi_Device *dev, int flag) ...@@ -2749,15 +2749,7 @@ scsi_reset_provider(Scsi_Device *dev, int flag)
*/ */
SCpnt->pid = 0; SCpnt->pid = 0;
if (dev->host->hostt->use_new_eh_code) {
rtn = scsi_new_reset(SCpnt, flag); rtn = scsi_new_reset(SCpnt, flag);
} else {
unsigned long flags;
spin_lock_irqsave(&io_request_lock, flags);
rtn = scsi_old_reset(SCpnt, flag);
spin_unlock_irqrestore(&io_request_lock, flags);
}
scsi_delete_timer(SCpnt); scsi_delete_timer(SCpnt);
return rtn; return rtn;
......
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