projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs working on the timothy_tests. just need to save the current state of the program.
[yaffs2.git]
/
yaffs_getblockinfo.h
diff --git
a/yaffs_getblockinfo.h
b/yaffs_getblockinfo.h
index 781d0ab1c33aa2d4f95471108f8d333c519368c3..432441bb891aa51a4597dec83c9b0c3f6c280ef1 100644
(file)
--- a/
yaffs_getblockinfo.h
+++ b/
yaffs_getblockinfo.h
@@
-20,16
+20,16
@@
#include "yaffs_trace.h"
/* Function to manipulate block info */
#include "yaffs_trace.h"
/* Function to manipulate block info */
-static Y_INLINE yaffs_
BlockInfo *yaffs_get_block_info(yaffs_Device
* dev, int blk)
+static Y_INLINE yaffs_
block_info_t *yaffs_get_block_info(yaffs_dev_t
* dev, int blk)
{
{
- if (blk < dev->internal
StartBlock || blk > dev->internalEndB
lock) {
+ if (blk < dev->internal
_start_block || blk > dev->internal_end_b
lock) {
T(YAFFS_TRACE_ERROR,
(TSTR
("**>> yaffs: getBlockInfo block %d is not valid" TENDSTR),
blk));
YBUG();
}
T(YAFFS_TRACE_ERROR,
(TSTR
("**>> yaffs: getBlockInfo block %d is not valid" TENDSTR),
blk));
YBUG();
}
- return &dev->block
Info[blk - dev->internalStartB
lock];
+ return &dev->block
_info[blk - dev->internal_start_b
lock];
}
#endif
}
#endif