projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs All of the quick_tests programs are now working.
[yaffs2.git]
/
yaffs_getblockinfo.h
diff --git
a/yaffs_getblockinfo.h
b/yaffs_getblockinfo.h
index 781d0ab1c33aa2d4f95471108f8d333c519368c3..108c361261049ac2bb6ddf0df8af3f388fcdc1f0 100644
(file)
--- a/
yaffs_getblockinfo.h
+++ b/
yaffs_getblockinfo.h
@@
-20,16
+20,17
@@
#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 struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev
+ *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
T(YAFFS_TRACE_ERROR,
(TSTR
- ("**>> yaffs: get
BlockI
nfo block %d is not valid" TENDSTR),
+ ("**>> yaffs: get
_block_i
nfo block %d is not valid" TENDSTR),
blk));
YBUG();
}
blk));
YBUG();
}
- return &dev->block
Info[blk - dev->internalStartB
lock];
+ return &dev->block
_info[blk - dev->internal_start_b
lock];
}
#endif
}
#endif