Fangrui Song
2a9f2cee31
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
6 years ago
rajeshvenkataraman
1aa9740542
ext4_dir: fix non existing entry creation issue
Added the length of the name string a a parameter.
Using strlen() on the name string may not give the correct length
in case of paths like: /mountpoint/nonexistdir1/nonexistdir2.
6 years ago
Max Maisel
151cd9f6e9
ext4_mkfs: Added UUID parameter to create new filesystems with non-zero UUID
7 years ago
Max Maisel
fa7ef73d81
ext4_mbr: Added "disk_id" parameter to MBR creation function
7 years ago
Max Maisel
bc9b9b57b6
ext4_blockdev: Added user data pointer
7 years ago
Fan Deng
d8218c9442
Use int64_t as offset to ext4_fseek.
This change makes it possible to fseek backwards in fseek.
Tested:
make test_all
7 years ago
branzhu
fb46550c54
Fix a compile issue with big endian config & some small issues fixes
7 years ago
gkostka
6f29a7eab3
ext4_config: add defines allowing disabling xattr and extent modules
8 years ago
gkostka
dee6a10ab3
ext4_dir_idx: make qsort as a default dir idx sort algorithm
8 years ago
gkostka
b1a34c56f4
Make ext4_xattr & ext4_extents GPL licensed
8 years ago
gkostka
c8978f9dba
ext4: add ext4_inode_exist method
8 years ago
gkostka
782631e938
Change include type policy
Since all headers are ins separate directory, includes could be
done by using <> instead of "".
8 years ago
branzhu
02eb05014f
Fix issues with big-endian system
8 years ago
gkostka
12af982ed6
ext4_mkfs: add journal node creation support
8 years ago
gkostka
958b570b8f
ext4: improve dox documentation style
8 years ago
gkostka
329eece6c3
ext4: remove block cache parameter from device_register function
This parameter is useless since cache is always initialized by malloc.
8 years ago
gkostka
406d9c3c65
ext4: add block device unregister by name & all methods
8 years ago
gkostka
83e87bd113
ext4: add methods to access file mode, owner, atime, mtime, ctime
8 years ago
gkostka
c1185991fa
ext4: add ext4_cache_flush for explicit cache flush
8 years ago
gkostka
318276320c
ext4_types: change "user" prefix to "ext4_user"
Prefix ext4_user looks more appropriately.
8 years ago
Michał Majewicz
7b3b9a6619
ext4: malloc substitution - moved option definition and changed names
8 years ago
Michał Majewicz
2577ef35e8
ext4: easy malloc/calloc/realloc/free substitution
8 years ago
Michał Majewicz
d7699491b0
ext4_block_group.h: fix lack of extern "C" closing brace
8 years ago
Kaho Ng
0ac15f4559
ext4: special inode creation support
8 years ago
Kaho Ng
a84a1b68d6
ext4: fix possible access violation when copying name fields
8 years ago
Kaho Ng
b130ba0ea6
ext4: @replace in ext4_setxattr() is deprecated
9 years ago
Kaho Ng
278e8d43d2
ext4_xattr: rework the EA submodule
9 years ago
ngkaho1234
6a6833fd4b
ext4_xattr: type changes
- struct ext4_xattr_ref::inode_size_rem's type is changed from int32_t to size_t
- struct ext4_xattr_ref::block_size_rem's type is changed from int32_t to size_t
9 years ago
gkostka
0638201038
ext4_mbr: introduce ext4_mbr_write procedure
9 years ago
Kaho Ng
d6816b4c0d
ext4_xattr: better handling on some corner error case
9 years ago
Kaho Ng
61098c719f
ext4_xattr: Changes to EA metadata handling macros
- Move them from include/ext4_types.h to include/ext4_xattr.h
- Use ext4_inode_get_extra_isize to better handle extra_isize field
of inodes.
9 years ago
ngkaho1234
5cdc17dc79
Refine extra_isize field handling
9 years ago
Kaho Ng
8281a97813
ext4_journal: numorous changes.
- Do not utilize jbd_block_rec::buf because it can be unreliable that
jbd_block_rec::buf may be freed.
- Do not need to flush buffers before a new transaction is going to reference
them.
- add some comments to the changes.
9 years ago
gkostka
af5034292e
ext4_fs: fix possible overflow
9 years ago
gkostka
13e34ef3f6
ext4_config: set CONFIG_UNALIGNED_ACCESS to 0 as default
9 years ago
gkostka
0589b9280b
ext4_config: add CONFIG_UNALIGNED_ACCESS configuration switch
On some targets unaligned 32/16 bit access will raise exeption.
9 years ago
gkostka
53b4f91981
ext4: add rename/move directory procedure to main API
9 years ago
ngkaho1234
b088876e58
ext4_xattr: fix xattr functions not recognizing acl attribute name.
9 years ago
ngkaho1234
e27d9e814c
Fix type mismatch.
9 years ago
ngkaho1234
1a75ade57c
Remove unnecessary stdio.h .
9 years ago
gkostka
2ed1a8a8ae
ext4_mkfs: move roundup and align macros to misc header
9 years ago
ngkaho1234
8b4a6cedc4
Relocate other in-memory data structures from ext4_types.h
These include ext4_inode_ref, ext4_dir_iter, ext4_dir_search_result
and ext4_dir_idx_block.
9 years ago
ngkaho1234
252c506239
Refactor header files dependencies.
9 years ago
ngkaho1234
3e42ad4c55
ext4_mkfs: field 'len' of ext4_mkfs_info should be unsigned.
9 years ago
ngkaho1234
8929c98e42
ext4: add read_only parameter to ext4_mount routine.
Now users can mount a filesystem as read-only mode explicitly.
9 years ago
ngkaho1234
9b40d089d6
CMake: now ext4_config.h will be automatically generated.
9 years ago
ngkaho1234
a45154a49b
Reconstruct source directory tree.
9 years ago