mtd/drivers/mtd nftlcore.c,1.92,1.93 inftlcore.c,1.9,1.10
David Woodhouse
dwmw2 at infradead.org
Wed Jun 11 09:27:54 EDT 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv11319
Modified Files:
nftlcore.c inftlcore.c
Log Message:
Doh. Cleanup and abort if add_mtd_blktrans_dev() fails. Not if it merely happens to exist
Index: nftlcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nftlcore.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- nftlcore.c 23 May 2003 11:41:47 -0000 1.92
+++ nftlcore.c 11 Jun 2003 13:27:51 -0000 1.93
@@ -101,7 +101,7 @@
(long)nftl->sectors );
}
- if (add_mtd_blktrans_dev) {
+ if (add_mtd_blktrans_dev(&nftl->mbd)) {
if (nftl->ReplUnitTable)
kfree(nftl->ReplUnitTable);
if (nftl->EUNtable)
Index: inftlcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/inftlcore.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- inftlcore.c 23 May 2003 11:41:47 -0000 1.9
+++ inftlcore.c 11 Jun 2003 13:27:51 -0000 1.10
@@ -113,7 +113,7 @@
(long)inftl->sectors );
}
- if (add_mtd_blktrans_dev) {
+ if (add_mtd_blktrans_dev(&inftl->mbd)) {
if (inftl->PUtable)
kfree(inftl->PUtable);
if (inftl->VUtable)
More information about the linux-mtd-cvs
mailing list