mtd/drivers/mtd inftlcore.c,1.13,1.14
David Woodhouse
dwmw2 at infradead.org
Thu Jun 26 04:28:29 EDT 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv26966
Modified Files:
inftlcore.c
Log Message:
Doh. Return geometry information as if it were an INFTLrecord not NFTLrecord.
Index: inftlcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/inftlcore.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- inftlcore.c 26 Jun 2003 07:42:54 -0000 1.13
+++ inftlcore.c 26 Jun 2003 08:28:26 -0000 1.14
@@ -856,11 +856,11 @@
static int inftl_getgeo(struct mtd_blktrans_dev *dev, struct hd_geometry *geo)
{
- struct NFTLrecord *nftl = (void *)dev;
+ struct INFTLrecord *inftl = (void *)dev;
- geo->heads = nftl->heads;
- geo->sectors = nftl->sectors;
- geo->cylinders = nftl->cylinders;
+ geo->heads = inftl->heads;
+ geo->sectors = inftl->sectors;
+ geo->cylinders = inftl->cylinders;
return 0;
}
More information about the linux-mtd-cvs
mailing list