Liu_Weichao
1eba3cfeda
feat add xiuos support and compile ok
2022-04-02 11:18:32 +08:00
Fangrui Song
2a9f2cee31
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
2018-12-02 10:17:47 -08:00
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.
2018-09-26 22:22:36 +02:00
Max Maisel
151cd9f6e9
ext4_mkfs: Added UUID parameter to create new filesystems with non-zero UUID
2018-03-01 17:57:53 +01:00
Max Maisel
fa7ef73d81
ext4_mbr: Added "disk_id" parameter to MBR creation function
2018-03-01 17:57:50 +01:00
Max Maisel
bc9b9b57b6
ext4_blockdev: Added user data pointer
2018-03-01 17:57:33 +01:00
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
2017-10-18 10:54:54 -07:00
branzhu
fb46550c54
Fix a compile issue with big endian config & some small issues fixes
2017-07-13 13:33:02 +02:00
gkostka
6f29a7eab3
ext4_config: add defines allowing disabling xattr and extent modules
2017-05-20 10:13:09 +02:00
gkostka
dee6a10ab3
ext4_dir_idx: make qsort as a default dir idx sort algorithm
2017-05-20 10:12:47 +02:00
gkostka
b1a34c56f4
Make ext4_xattr & ext4_extents GPL licensed
2017-05-20 09:15:15 +02:00
gkostka
c8978f9dba
ext4: add ext4_inode_exist method
2017-04-19 20:47:14 +02:00
gkostka
782631e938
Change include type policy
...
Since all headers are ins separate directory, includes could be
done by using <> instead of "".
2017-04-05 20:12:52 +02:00
branzhu
02eb05014f
Fix issues with big-endian system
2017-03-24 00:51:51 -04:00
gkostka
12af982ed6
ext4_mkfs: add journal node creation support
2017-02-21 22:05:26 +01:00
gkostka
958b570b8f
ext4: improve dox documentation style
2017-02-19 22:09:17 +01:00
gkostka
329eece6c3
ext4: remove block cache parameter from device_register function
...
This parameter is useless since cache is always initialized by malloc.
2017-02-17 01:26:56 +01:00
gkostka
406d9c3c65
ext4: add block device unregister by name & all methods
2017-02-17 00:54:06 +01:00
gkostka
83e87bd113
ext4: add methods to access file mode, owner, atime, mtime, ctime
2017-02-15 22:56:06 +01:00
gkostka
c1185991fa
ext4: add ext4_cache_flush for explicit cache flush
2017-01-18 22:42:04 +01:00
gkostka
318276320c
ext4_types: change "user" prefix to "ext4_user"
...
Prefix ext4_user looks more appropriately.
2016-08-19 13:03:21 +02:00
Michał Majewicz
7b3b9a6619
ext4: malloc substitution - moved option definition and changed names
2016-08-19 12:31:13 +02:00
Michał Majewicz
2577ef35e8
ext4: easy malloc/calloc/realloc/free substitution
2016-08-19 11:49:59 +02:00
Michał Majewicz
d7699491b0
ext4_block_group.h: fix lack of extern "C" closing brace
2016-08-19 10:40:50 +02:00
Kaho Ng
0ac15f4559
ext4: special inode creation support
2016-06-30 05:40:06 +08:00
Kaho Ng
a84a1b68d6
ext4: fix possible access violation when copying name fields
2016-06-28 23:03:36 +08:00
Kaho Ng
b130ba0ea6
ext4: @replace in ext4_setxattr() is deprecated
2016-06-20 18:06:15 +08:00
Kaho Ng
278e8d43d2
ext4_xattr: rework the EA submodule
2016-06-20 18:06:00 +08:00
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
2016-05-16 13:50:54 +00:00
gkostka
0638201038
ext4_mbr: introduce ext4_mbr_write procedure
2016-05-16 09:48:52 +02:00
Kaho Ng
d6816b4c0d
ext4_xattr: better handling on some corner error case
2016-05-16 01:08:38 +08:00
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.
2016-05-13 21:20:12 +08:00
ngkaho1234
5cdc17dc79
Refine extra_isize field handling
2016-05-13 21:20:03 +08:00
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.
2016-04-30 16:18:00 +08:00
gkostka
af5034292e
ext4_fs: fix possible overflow
2016-04-12 17:43:13 +02:00
gkostka
13e34ef3f6
ext4_config: set CONFIG_UNALIGNED_ACCESS to 0 as default
2016-04-01 16:00:18 +02:00
gkostka
0589b9280b
ext4_config: add CONFIG_UNALIGNED_ACCESS configuration switch
...
On some targets unaligned 32/16 bit access will raise exeption.
2016-04-01 15:20:40 +02:00
gkostka
53b4f91981
ext4: add rename/move directory procedure to main API
2016-03-31 22:54:17 +02:00
ngkaho1234
b088876e58
ext4_xattr: fix xattr functions not recognizing acl attribute name.
2016-03-17 04:27:53 +00:00
ngkaho1234
e27d9e814c
Fix type mismatch.
2016-02-03 22:17:47 +08:00
ngkaho1234
1a75ade57c
Remove unnecessary stdio.h .
2016-02-03 10:34:03 +00:00
gkostka
2ed1a8a8ae
ext4_mkfs: move roundup and align macros to misc header
2016-02-01 19:50:03 +01:00
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.
2016-02-01 03:18:15 +00:00
ngkaho1234
252c506239
Refactor header files dependencies.
2016-01-31 15:57:43 +00:00
ngkaho1234
3e42ad4c55
ext4_mkfs: field 'len' of ext4_mkfs_info should be unsigned.
2016-01-31 17:50:16 +08:00
ngkaho1234
8929c98e42
ext4: add read_only parameter to ext4_mount routine.
...
Now users can mount a filesystem as read-only mode explicitly.
2016-01-30 23:26:22 +08:00
ngkaho1234
9b40d089d6
CMake: now ext4_config.h will be automatically generated.
2016-01-29 16:25:37 +08:00
ngkaho1234
a45154a49b
Reconstruct source directory tree.
2016-01-28 22:46:36 +08:00