mtd/drivers/mtd inftlmount.c,1.14,1.15
Kalev Lember
kalev at infradead.org
Fri Nov 5 16:55:59 EST 2004
- Previous message: mtd/drivers/mtd/nand diskonchip.c, 1.40, 1.41 ppchameleonevb.c, 1.5,
1.6
- Next message: mtd/drivers/mtd/chips Kconfig, 1.9, 1.10 cfi_cmdset_0001.c, 1.160,
1.161 cfi_probe.c, 1.80, 1.81 cfi_util.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv18079
Modified Files:
inftlmount.c
Log Message:
initialize instr->mtd
without it we would get an kernel oops trying to insmod inftl
Index: inftlmount.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/inftlmount.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- inftlmount.c 9 Aug 2004 13:57:42 -0000 1.14
+++ inftlmount.c 5 Nov 2004 21:55:55 -0000 1.15
@@ -222,6 +222,8 @@
if (ip->Reserved0 != ip->firstUnit) {
struct erase_info *instr = &inftl->instr;
+ instr->mtd = inftl->mbd.mtd;
+
/*
* Most likely this is using the
* undocumented qiuck mount feature.
@@ -387,6 +389,8 @@
struct erase_info *instr = &inftl->instr;
int physblock;
+ instr->mtd = inftl->mbd.mtd;
+
DEBUG(MTD_DEBUG_LEVEL3, "INFTL: INFTL_formatblock(inftl=%p,"
"block=%d)\n", inftl, block);
- Previous message: mtd/drivers/mtd/nand diskonchip.c, 1.40, 1.41 ppchameleonevb.c, 1.5,
1.6
- Next message: mtd/drivers/mtd/chips Kconfig, 1.9, 1.10 cfi_cmdset_0001.c, 1.160,
1.161 cfi_probe.c, 1.80, 1.81 cfi_util.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list