Commit 4b5bd7fd authored by Mark Haverkamp's avatar Mark Haverkamp Committed by Linus Torvalds

[PATCH] 2.5.43 aacraid driver

Fill devno[cid] from request instead of sc_request->sr_request since
sc_request is passed in as NULL now.
parent 5afffee2
...@@ -1060,7 +1060,8 @@ int aac_scsi_cmd(Scsi_Cmnd * scsicmd) ...@@ -1060,7 +1060,8 @@ int aac_scsi_cmd(Scsi_Cmnd * scsicmd)
*/ */
spin_unlock_irq(scsicmd->host->host_lock); spin_unlock_irq(scsicmd->host->host_lock);
fsa_dev_ptr->devno[cid] = DEVICE_NR(scsicmd->sc_request->sr_request->rq_dev); fsa_dev_ptr->devno[cid] =
DEVICE_NR(scsicmd->request->rq_dev);
ret = aac_read(scsicmd, cid); ret = aac_read(scsicmd, cid);
spin_lock_irq(scsicmd->host->host_lock); spin_lock_irq(scsicmd->host->host_lock);
return ret; return ret;
......
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