summaryrefslogtreecommitdiff
path: root/yaffs_yaffs2.c (follow)
AgeCommit message (Collapse)Author
2011-04-28yaffs: Discard partially written summary dataCharles Manning
A power failure during the write of a multi-chunk summary can leave stuff lying around that looks like part of a file. If this is detected then delete it. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-31yaffs: Tweaks to summary codeCharles Manning
Trying some different ideas for handling free space cleaner. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-29yaffs: Add first cut of block summary codeCharles Manning
Some issues still need to be checked. In particular: * Is free space handling correct? * Is gc doing The Right Thing? Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-07yaffs: Remove debugging argument from temp buffer handlingCharles Manning
No longer track the line number used for allocation. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-04yaffs: Change all hex values to lower caseCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-01yaffs: Update year to 2011 in copyrights etc.Charles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-01yaffs: Clean up as per Ryan's commentsCharles Manning
Clean up a whole lot of code issues raised by Ryan. Some further reformatting etc to be mor kernel friendly. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-01-13yaffs: Reformatting to be kernel friendly.Charles Manning
Passes checkpatch.pl Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-01-10yaffs: Sort out issues raised by CoverityCharles Manning
Coverity checks raised some issues, particularly with NULL checks. Fix them. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-12-10yaffs Change tracing to yaffs_traceCharles Manning
Make the tracing a whole lot easier on the eye. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-12-07yaffs: Remove a whole lot of function wrappers and forward declarationsCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-09yaffs: Clean up some tracing.Charles Manning
Make some checkpt messages conditional. Fix up trace table screwed up by lindent. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-08yaffs Clean up conditional bracingCharles Manning
If a conditional has braces then all paths have braces even if they only have one statement. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-03yaffs: Redo LindentCharles Manning
Only applies to Linux files. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-03yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-03yaffs: More clean up.Charles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: Change __uxx types to uxxCharles Manning
__u32 -> u32 and such. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-27yaffs Further name changes and file reorganisationCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-07yaffs Make more symbol changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-07yaffs More symbol changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-07yaffs First round of name changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-09-09yaffs Compilation clean upsCharles Manning
Tighten compilation flags and clean up. More to follow... Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-08-10yaffs: Skip checkpoint writing if mounted readonlyCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-08-04yaffs: Fix issues kicked up by fuzz testingCharles Manning
Some more problems kicked up by fuzz testing: * Further verification of chunk tags. * If loading details for root dir or lost+found then don't change the * variant type since we know they are directories. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-21yaffs Refactor yaffs direct device list management, add nand abstraction, ↵Charles Manning
divide up test code This all makes for a far cleaner layout of test code. The new yaffs direct list management allows partitions to be added synamically rather than statically. This is better for OSs that install partitions at runtime (eg. WInCE). The nand abstraction makes it tidier to add a new nand driver to yaffs direct and test code. The test code has been repartitioned to make porting and file management cleaner. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-02yaffs Fix scan problem for corrupted tagsCharles Manning
Check that the tags are within reasonable bounds. Without this, subsequent checks can fail causing a mount failure. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-02yaffs Refactorisation first phaseCharles Manning
Partitoning code. More to happen. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-01yaffs Reactoring WIPCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>