never mind, this should fix it:
--- 2.4.19pre8aa2/drivers/mtd/devices/blkmtd.c.~1~ Mon Feb 25 22:05:07 2002
+++ 2.4.19pre8aa2/drivers/mtd/devices/blkmtd.c Sat May 4 13:43:01 2002
@@ -235,7 +235,7 @@
return -ENOMEM;
}
#else
- blocks = iobuf->blocks;
+ blocks = iobuf->kio_blocks;
#endif
iobuf->offset = 0;
@@ -329,7 +329,7 @@
return 0;
}
#else
- blocks = iobuf->blocks;
+ blocks = iobuf->kio_blocks;
#endif
DEBUG(2, "blkmtd: writetask: entering main loop\n");
Andrea
-
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/