History log of /system/extras/ext4_utils/ext4fixup.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
40ce87a70a064eeb462d3c3935422918c1f6114e 03-Mar-2014 Paul Lawrence <paullawrence@google.com> Remove warnings

Remove warnings called by duplicate definition of ALIGN macro.
Note that bionic/libc/include/sys/param.h defines ALIGN as

#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES)

which is not good - clashes with every other definition of ALIGN.

Change-Id: I2d716c41ededd2fa072f944e21d94a0c93ca9c46
/system/extras/ext4_utils/ext4fixup.c
ee2bba62529ce544a60d141ca10a37407c03ab1e 21-Jan-2014 Paul Lawrence <paullawrence@google.com> ext4 utils: Refactor read_ext, and expose some of the functions

Make read_ext an externally useable function. Use case is to
enable fast encryption by being able to look at whether each block
is in use or not.

Bug: 11985952
Change-Id: Ief71f408a55db7261c75ebe974620415ed8cfd29
/system/extras/ext4_utils/ext4fixup.c
5446bde9c02f6ae95a30d9c178b13a05bb580fe1 20-Feb-2013 Nick Kralevich <nnk@google.com> ext4_utils: clean up some warnings.

Change-Id: Ia9761e5168cfe6baabc0105ea76d5575fc378f48
/system/extras/ext4_utils/ext4fixup.c
dc5abeee1e6fc4827ee0d5ece12aaed2dd56f4c7 24-Apr-2012 Colin Cross <ccross@android.com> Refactor sparse file support into libsparse

Minimal refactoring of output_file.c into libsparse in preparation
for completely separating libsparse from ext4_utils.

Moves output_file.c, backed_block.c, and parts of ext4_utils.c
into libsparse. The only changes to the remanining files in
ext4_utils are using the new sparse.h header, and moving the
wipe call out of output_file.c and into make_ext4fs.c.

Change-Id: I1f66f6c3e05230a350023c5b4ea4422f16a73c4b
/system/extras/ext4_utils/ext4fixup.c
4605b3fb8a00fa37f617a8d0fe3a095d0503a845 04-Feb-2012 Raphael Moll <raphael@google.com> Adapt ext4_utils for windows.

This is not a full port of ext4_utils for windows.
Instead it merely enables use to use the library
for the 'create an empty fs image' functionality
as used by 'fastboot format'.

Change-Id: Ia1ffacd64e4233c4fbb369c4ac5927ccd72ac526
/system/extras/ext4_utils/ext4fixup.c
7e5ff13c55eb29748c07768bd7134819cbcbd4b0 23-Jun-2011 Ken Sumrall <ksumrall@android.com> Add test/debugging code to ext4fixup

Add debugging test code to specify where to bail partway through
Add a script to drive the test code for automated testing. This
found 4 bugs!

Change-Id: I14dc8b1e2c9d2d2f332346958d488feaf768d396
/system/extras/ext4_utils/ext4fixup.c
97fc910ce0e05862888fd1d9e1938feba40f7539 23-Jun-2011 Ken Sumrall <ksumrall@android.com> Fixes for ext4fixup.

Add check for filesystem that needs the journal run
Fix check for a cleanly unmounted filesystem.
Fix computation of new inode number
Fix check in two places for high bit being set on inode num
Only run sanity check pass if filesystem fixup state is unset
(i.e. not partway through the conversion)

Change-Id: Ib5521e7f3c04d32c02d9890644a99378e3a3659e
/system/extras/ext4_utils/ext4fixup.c
671cd2188e2f224aaeac4955785199f228235719 10-Jun-2011 Ken Sumrall <ksumrall@android.com> ext4fixup tool to fix wonky filesystems made by old version of make_ext4fs

The filesystems made by make_ext4fs for the Gingerbread and initial Honeycomb
releases did not round up the number of inodes/block_group to use all the
space available. This worked, but newer kernels have additional code that
refuses to write to these filesystems. There is a kernel patch available
to fix the problem in the kernel, but this tool was also written to fixup
the filesystems to be compliant with the new kernels.

Change-Id: I317b02ee2132ce6a0daeb4d1b40ad5ef57a0fb32
/system/extras/ext4_utils/ext4fixup.c