mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 05:34:30 +08:00
Fix problem with symbolic links in JFFS2 code.
This commit is contained in:
parent
a710d4be80
commit
cf8bc5773c
@ -2,6 +2,8 @@
|
||||
Changes for U-Boot 1.1.3:
|
||||
======================================================================
|
||||
|
||||
* Fix problem with symbolic links in JFFS2 code.
|
||||
|
||||
* Use linker ASSERT statement to prevent undetected overlapping of
|
||||
sections on PPChameleon board; other boards might use this, too.
|
||||
|
||||
|
@ -760,7 +760,11 @@ jffs2_1pass_list_inodes(struct b_lists * pL, u32 pino)
|
||||
if (jNode->ino == jDir->ino && jNode->version >= i_version) {
|
||||
if (i)
|
||||
put_fl_mem(i);
|
||||
i = get_fl_mem(b2->offset, sizeof(*i), NULL);
|
||||
|
||||
if (jDir->type == DT_LNK)
|
||||
i = get_node_mem(b2->offset);
|
||||
else
|
||||
i = get_fl_mem(b2->offset, sizeof(*i), NULL);
|
||||
}
|
||||
b2 = b2->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user