Commit 57be08ed authored by Adam Kropelin's avatar Adam Kropelin Committed by Trond Myklebust

[PATCH] 2.5.43: cpqarray compile fix

This fixes a recent dyslexicism in cpqarray.
parent a87cd408
...@@ -1427,7 +1427,7 @@ static int revalidate_allvol(kdev_t dev) ...@@ -1427,7 +1427,7 @@ static int revalidate_allvol(kdev_t dev)
*/ */
for (i = 0; i < NWD; i++) { for (i = 0; i < NWD; i++) {
struct gendisk *disk = ida_gendisk[ctlr][i]; struct gendisk *disk = ida_gendisk[ctlr][i];
if (disk->flags & GENDH_FL_UP) if (disk->flags & GENHD_FL_UP)
del_gendisk(disk); del_gendisk(disk);
} }
memset(hba[ctlr]->drv, 0, sizeof(drv_info_t)*NWD); memset(hba[ctlr]->drv, 0, sizeof(drv_info_t)*NWD);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment