summaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-05-03 20:45:30 +0000
committerwdenk <wdenk>2004-05-03 20:45:30 +0000
commit2729af9d544bfba5de47698c2852652d95723943 (patch)
tree5ce61a31488dc73b827f0a7b519d7ae03c8829bd /fs/jffs2
parent08f1080c9cbde2a500e6efe8bc5647a68f183c91 (diff)
* Fix minor NAND JFFS2 related issue
* Fixes for SL811 USB controller: - implement workaround for broken memory stick - improve error handling * Increase packet send timeout to 10 ms in cpu/mpc8xx/scc.c to better cope with congested networks.
Diffstat (limited to 'fs/jffs2')
-rw-r--r--fs/jffs2/jffs2_1pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c
index 10e6df8e189..7bfcc0484df 100644
--- a/fs/jffs2/jffs2_1pass.c
+++ b/fs/jffs2/jffs2_1pass.c
@@ -874,7 +874,7 @@ jffs2_1pass_resolve_inode(struct b_lists * pL, u32 ino)
while (b2) {
jNode = (struct jffs2_raw_inode *) get_node_mem(b2->offset);
if (jNode->ino == jDirFoundIno) {
- src = (unsigned char *) (b2->offset + sizeof(struct jffs2_raw_inode));
+ src = (unsigned char *)jNode + sizeof(struct jffs2_raw_inode);
#if 0
putLabeledWord("\t\t dsize = ", jNode->dsize);