This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, the attached patch fixes a possible deadlock in the jffs2 garbage collection. At the end of garbage_collect_pass() there are two error checks, each followed by a return. In these both cases releasing the alloc_sem semaphore was missing. The patch fixes this and syncs gc.c with the version from mtd cvs. Please apply. Another question: The file jffs2/..../fs-ecos.c contains a check for gcc 3.2.x and ARM_ARCH_4 -> #error This compiler is known to be broken Does this also apply for ARM_ARCH_5 ? It compiles here with -mcpu=xscale and gcc 3.2.1 ... Bye Alex
Attachment:
jffs2-gc.diff
Description: jffs2-gc.diff
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |