git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
jffs2
/
debug.c
diff --git
a/fs/jffs2/debug.c
b/fs/jffs2/debug.c
index
72b4fc1
..
4189e4a
100644
(file)
--- a/
fs/jffs2/debug.c
+++ b/
fs/jffs2/debug.c
@@
-178,8
+178,8
@@
__jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c,
while (ref2) {
uint32_t totlen = ref_totlen(c, jeb, ref2);
while (ref2) {
uint32_t totlen = ref_totlen(c, jeb, ref2);
- if (ref
2->flash_offset
< jeb->offset ||
- ref
2->flash_offset
> jeb->offset + c->sector_size) {
+ if (ref
_offset(ref2)
< jeb->offset ||
+ ref
_offset(ref2)
> jeb->offset + c->sector_size) {
JFFS2_ERROR("node_ref %#08x shouldn't be in block at %#08x.\n",
ref_offset(ref2), jeb->offset);
goto error;
JFFS2_ERROR("node_ref %#08x shouldn't be in block at %#08x.\n",
ref_offset(ref2), jeb->offset);
goto error;