gkostka
5819cc9f59
Add PRId64 & PRIu64 macros when not defined int inttypes.h
9 years ago
gkostka
f59c52eece
Move __unused macro from tree.h to ext4_config.h
9 years ago
gkostka
d15d9a8f91
Introduce EXT4_BLOCK_ZERO macro to initialize ext4_block
9 years ago
gkostka
1bbaf87720
Introduce full extent implementation (by KaHo Ng)
Old implementation doesn't handle unwritten extents properly.
This implementation is more heavy but access to unwritten extents
is safe. For microcontrollers users old implementation is ok since
partition isn't shared with system which writes unwritten extents
by falocate/ftruncate.
9 years ago
ngkaho1234
4bcfec78e6
1. Use cc/c++ instead of gcc/g++
2. Detect ENODATA definition.
9 years ago
gkostka
947c83bf03
Improve debug formatting
9 years ago
gkostka
a09a05013d
Introduce bdev_write_sb to mkfs module
9 years ago
gkostka
9befc593b0
Add superblock fill function
9 years ago
gkostka
b4f7056e34
Port create_fs_aux_info form ext4-utils
9 years ago
gkostka
193a315b1c
Make ext4_sb_sparse public
9 years ago
gkostka
23d805b5fa
Add journal data to mkfs info
9 years ago
gkostka
eef7be8080
Add mkfs to debug module
9 years ago
gkostka
5cfb1be847
Add ext4_mkfs function (incomplete yet)
9 years ago
gkostka
00c04858f2
Add ext4_mkfs_read_info function
9 years ago
gkostka
9d667e4f5f
Add ext4_mkfs module skeleton
9 years ago
ngkaho1234
bba14d471c
Tune CMakeFile default preprocessor macros on PC.
Remove ENOATTR, use ENODATA instead
9 years ago
gkostka
0d2e2caf71
Fix 16 bit MCU compilation warnings
9 years ago
ngkaho1234
d28be3a3f0
FIX: cannot delete files containing unwritten extent properly.
TODO: we also need to add the support of writting to a file containing unwritten extent.
9 years ago
gkostka
aff43c4a6a
Debug system refactoring (prefixes & flags)
9 years ago
gkostka
59950cfeb0
Merge pull request #9 from ngkaho1234/master
FIX: numerous bugs.
9 years ago
root
a4ec81fd03
FIX: EA in-memory data referred after freeing.
9 years ago
root
0b1f3afd3b
FIX: ea_size accounting is not correct after resizing. (3)
9 years ago
root
edcd44595b
FIX: ea_size accounting is not correct after resizing. (2)
9 years ago
root
d8bfd3ab2b
FIX: ea_size accounting is not correct after resizing.
9 years ago
ngkaho1234
1f6b6e87c6
Fix compiler warnings.
9 years ago
ngkaho1234
846df7dfc7
ea_size accounting rework: now do not count the size of xattr headers.
9 years ago
ngkaho1234
29a5d255e4
FIX: list buffer size is not correctly returned on ext4_listxattr calls.
9 years ago
ngkaho1234
9792c01efc
FIX: ext4_listxattr not returning required list buffer size when size == 0.
9 years ago
gkostka
a1a24db03c
Fix const correctness
9 years ago
root
5ddffb5961
Experimental EA public routines.
9 years ago
gkostka
6e79cef4b0
Add ignore .git directory cmkage dist target
9 years ago
gkostka
ea1b3fbabc
Readme update
9 years ago
gkostka
aea989472d
Fix chibios headers
9 years ago
gkostka
915f8b7fbc
Remove compilaton warnings
9 years ago
gkostka
1a0b8144bd
Remove some confusing casts
9 years ago
gkostka
aa3c31b2b7
Little code cleanup
9 years ago
gkostka
2a7a75f8f9
Fix compile warnings for 16 bit machines
9 years ago
gkostka
8175b57b88
Add licence headers to source files
9 years ago
gkostka
9977df1f77
Compile warnings fix
9 years ago
gkostka
368a11f29f
Fix some indentation issues
9 years ago
gkostka
4df373aecb
Move prefix table to .rodata section (and static keyword)
9 years ago
gkostka
85273d52f9
Remove clock_t dependency
9 years ago
gkostka
01af5a89b3
Add CONFIG_HAVE_OWN_OFLAGS=1 for targets without right definitions
9 years ago
gkostka
eb76049452
Remove cdefs header from tree
Not all toolchan has this header
9 years ago
gkostka
2064a55284
Merge pull request #8 from ngkaho1234/master
Experimental Extended Attribute supports.
9 years ago
root
dc8cbeb1b0
Do clang-format against ext4_xattr.c and ext4_xattr.h
9 years ago
root
afdb70bf2e
Remove ext4_fsetxattr stub.
9 years ago
root
757363a0f8
Fix compiler warnings..ext4_fsetxattr stub added.
9 years ago
root
b3fc8b9dd5
ext4 prefix/name string operations added.
9 years ago
ngkaho1234
801cc44cba
FIX: no entries found during iteration.
9 years ago