Skip to contentSkip to conversation

2.5.43: cpqarray compile fix

PATCH New Adam Kropelin 1 participant 1 message Oct 16, 2002 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.43: cpqarray compile fix

This fixes a recent dyslexicism in cpqarray.

--Adam

drivers/block/cpqarray.c +1 -1
@@ -1427,7 +1427,7 @@
 	 */
 	for (i = 0; i < NWD; i++) {
 		struct gendisk *disk = ida_gendisk[ctlr][i];
-		if (disk->flags & GENDH_FL_UP)
+		if (disk->flags & GENHD_FL_UP)
 			del_gendisk(disk);
 	}
 	memset(hba[ctlr]->drv,            0, sizeof(drv_info_t)*NWD);