git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[JFFS2] Print correct node offset when complaining about broken data CRC
[pandora-kernel.git]
/
fs
/
jffs2
/
readinode.c
diff --git
a/fs/jffs2/readinode.c
b/fs/jffs2/readinode.c
index
170da20
..
b5baa35
100644
(file)
--- a/
fs/jffs2/readinode.c
+++ b/
fs/jffs2/readinode.c
@@
-104,7
+104,7
@@
static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info
if (crc != tn->data_crc) {
JFFS2_NOTICE("wrong data CRC in data node at 0x%08x: read %#08x, calculated %#08x.\n",
if (crc != tn->data_crc) {
JFFS2_NOTICE("wrong data CRC in data node at 0x%08x: read %#08x, calculated %#08x.\n",
-
ofs
, tn->data_crc, crc);
+
ref_offset(ref)
, tn->data_crc, crc);
return 1;
}
return 1;
}