Re: [PATCH] 2.5.60 make cciss driver compile

steve cameron (steve.cameron@hp.com)
Wed, 12 Feb 2003 13:16:10 +0600


Zero out cylinders when zeroing out other disk info in cciss driver.
(patch 5 of 11)
-- steve

--- linux-2.5.60/drivers/block/cciss.c~zero_cyls 2003-02-12 10:12:56.000000000 +0600
+++ linux-2.5.60-scameron/drivers/block/cciss.c 2003-02-12 10:12:56.000000000 +0600
@@ -809,6 +809,7 @@ static int deregister_disk(int ctlr, int
/* zero out the disk size info */
h->drv[logvol].nr_blocks = 0;
h->drv[logvol].block_size = 0;
+ h->drv[logvol].cylinders = 0;
h->drv[logvol].LunID = 0;
return(0);
}

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/