projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct the calculation of the block number to erase.
[yaffs2.git]
/
yaffs_mtdif2.c
diff --git
a/yaffs_mtdif2.c
b/yaffs_mtdif2.c
index f21b1167ac76d5392caceef0f511c7959df3989e..e6236902d5682a8076d8b80d6ba427b3028b8ca6 100644
(file)
--- a/
yaffs_mtdif2.c
+++ b/
yaffs_mtdif2.c
@@
-15,11
+15,11
@@
// mtd interface for YAFFS2
// mtd interface for YAFFS2
-const char *yaffs_mtdif2_c_version = "$Id: yaffs_mtdif2.c,v 1.
4 2005-07-31 06:47:12
marty Exp $";
+const char *yaffs_mtdif2_c_version = "$Id: yaffs_mtdif2.c,v 1.
5 2005-07-31 08:38:41
marty Exp $";
#include "yportenv.h"
#include "yportenv.h"
-#ifdef CONFIG_YAFFS_
MTD_ENABLED
+#ifdef CONFIG_YAFFS_
YAFFS1
#include "yaffs_mtdif2.h"
#include "yaffs_mtdif2.h"