patch-2.4.1 linux/drivers/scsi/sg.c
Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/scsi_merge.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Mon Jan 15 13:08:15 2001
-  Orig file: 
v2.4.0/linux/drivers/scsi/sg.c
-  Orig date: 
Thu Jan  4 12:50:17 2001
diff -u --recursive --new-file v2.4.0/linux/drivers/scsi/sg.c linux/drivers/scsi/sg.c
@@ -694,6 +694,7 @@
 		(void *)SRpnt->sr_buffer, hp->dxfer_len,
 		sg_cmd_done_bh, timeout, SG_DEFAULT_RETRIES);
     /* dxfer_len overwrites SRpnt->sr_bufflen, hence need for b_malloc_len */
+    generic_unplug_device(&SRpnt->sr_device->request_queue);
     return 0;
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)