patch-1.3.78 linux/drivers/block/ide.c
Next file: linux/drivers/block/ll_rw_blk.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Mar 24 18:57:04 1996
- Orig file:
v1.3.77/linux/drivers/block/ide.c
- Orig date:
Wed Mar 20 10:59:56 1996
diff -u --recursive --new-file v1.3.77/linux/drivers/block/ide.c linux/drivers/block/ide.c
@@ -1469,6 +1469,8 @@
*/
hwif = hwgroup->next_hwif;
do {
+ if (IS_PLUGGED(blk_dev + hwif->major))
+ continue;
rq = blk_dev[hwif->major].current_request;
if (rq != NULL && rq->rq_status != RQ_INACTIVE)
goto got_rq;
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