This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Update to newer version of upstream yaffs2 #1
Open
garyp
wants to merge
745
commits into
signalapp:master
Choose a base branch
from
garyp:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The yaffs direct tests run in a tmpfs mount so that they run faster and don't hit the disk. The previous size was not enough to run all the tests in parallel. Increase to 2G bytes. Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
This is just cosmetics for the script that plots free data. Signed-off-by: Charles Manning <[email protected]>
Make it more obvious what the differences are between the multi- and single- version varints of the yaffs vfs glue code. Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
A python based browser for working with yaffs direct. More to follow... Signed-off-by: Timothy Manning <[email protected]>
Change the python test library to use a file-backed emulator for the yaffs2 mount rather than use a ram-based emulator. Signed-off-by: Timothy Manning <[email protected]>
Fixed the Makefile by adding an extra symlink. Gave the python browser the ablity to create files and folders. Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
lstat gives us symlinks. Signed-off-by: Charles Manning <[email protected]>
Did not handle hardlinks to symlinks properly. Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Defined values such as S_IFMT have now been added to yaffsfs.py There is a bug with st.st_mode returning 0 if the object scanned is a symlink. This is currently been worked on. The ability to open and see symlinks in the browser is not working because of this. Signed-off-by: Timothy Manning <[email protected]>
the st.st_mode returning 0 for a symlink was caused by: result = yaffs_stat(fullname,byref(st)) been used insted of: result = yaffs_lstat(fullname,byref(st)) changing to the latter fixed this bug. Everything works. Signed-off-by: Timothy Manning <[email protected]>
Ensure that hard links are deferenced properly by doing it in yaffsfs_FindObject. Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
… yaffs file system Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
…owser. Signed-off-by: Timothy Manning <[email protected]>
Merge in first set of yaffs name changes Conflicts: direct/python/yaffs_python_helper.c direct/yaffsfs.c Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
This is needed to support dup(). Signed-off-by: Charles Manning <[email protected]>
This was in the python directory but is generally handy so move it into the yaffs direct direcotory. Signed-off-by: Charles Manning <[email protected]>
Better than shift counting. Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
Make the tracing a whole lot easier on the eye. Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Charles Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Signed-off-by: Timothy Manning <[email protected]>
Merge in HEAD (7b670d7) of git://github.com/WhisperSystems/WhisperYAFFS, which seems to be based off of commit b07263a. In addition to normal merging, the following changes were made: - Make changes in Makefile similar to those in Makefile.kernel. - Apply changes from yaffs_vfs_glue.c in WhisperYAFFS to both yaffs_vfs.c and yaffs_vfs_multi.c. - Some whitespace normalization in the modified chunks.
Merge WhisperYAFFS (based off of a much older commit) with the yaffs version used in CyanogenMod 7.1.0's kernel. Apply the changes in yaffs_mtdif2.c to both yaffs_mtdif2_{single,multi}.c.
- update to use new names of functions/variables - switch from YMALLOC/YFREE to kmalloc/kfree - drop unused includes
commit ddf33fe Author: Timothy Manning <[email protected]> Date: Thu Dec 23 13:31:37 2010 +1300 yaffs updated direct/timothy_tests/quick_tests Signed-off-by: Timothy Manning <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This merges in changes from the upstream yaffs2 repository to bring it up to the same version that's used in the CyanogenMod 2.6.37.6 kernel. Along with changes to make the code work again, I also updated the style to match the massive renaming that happened in the upstream tree.
I've compiled this on my Nexus One and confirmed that it works correctly for a newly encrypted partition. I haven't tested against a partition encrypted with the old version of the WhisperYAFFS code to make sure that there are no compatibility issues.
Gary