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

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