patch-1.3.85 linux/drivers/scsi/scsi_ioctl.c

Next file: linux/drivers/scsi/st.c
Previous file: linux/drivers/scsi/ppa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.84/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -149,6 +149,10 @@
     
     result = SCpnt->result;
     SCpnt->request.rq_status = RQ_INACTIVE;
+
+    if(SCpnt->device->scsi_request_fn)
+	(*SCpnt->device->scsi_request_fn)();
+
     wake_up(&SCpnt->device->device_wait);
     return result;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this