huven
58bcf89a12
Documentation improvements ( #65 )
Co-authored-by: Richard Huveneers <richard@huveneers.com>
2 years ago
huven
1eee453ba2
Fix ext4_device_unregister return code ( #63 )
Co-authored-by: Richard Huveneers <richard@huveneers.com>
2 years ago
Cynthia
0493f0a976
fix: properly gate extents use behind the configuration toggle ( #61 )
2 years ago
Zixuan Wang
2248e43aa2
add missing ext4_fs_put_block_group_ref in early returns ( #58 )
2 years ago
SergeyVolkovich99
82cfc29f7e
fix hardcoding install pathes ( #54 )
2 years ago
Grzegorz Kostka
4736ec5c55
Merge pull request #51 from HenriChataing/master
ext4: Fix ext4_mount
2 years ago
Henri Chataing
a401d0b06b
ext4: ws - tab conversion
5 years ago
Henri Chataing
ce13c4932d
ext4: Fix ext4_mount
When calling ext4_mount twice with the same parameters, but an invalid file system (e.g. not formatted),
the second call automatically succeeds and subsequent fs calls will use a corrupt mount point
5 years ago
Grzegorz Kostka
733b2c40d7
Merge pull request #49 from sirocyl/patch-1
Change badges to reflect project license status
6 years ago
Tyler True
f4685b430f
Change badges to reflect project license status
While all source files except the two mentioned (ext4_xattr.c and ext4_extents.c) are BSD-3-clause, and it seems like this project may be licensed as such by removing those two files, the project license should be reflected as GPL v2.0, in accordance with the LICENSE file at the root of the project.
6 years ago
Grzegorz Kostka
6176f0aa46
Merge pull request #47 from MaskRay/jbd_commit_header
Fix jbd_commit_header::chksum_{type,size}
6 years ago
Grzegorz Kostka
e433949653
Merge pull request #46 from MaskRay/ext4_mkfs_info
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
6 years ago
Grzegorz Kostka
e9ca4a2d38
Merge pull request #43 from MaskRay/cmake
Raise cmake_minimum_required: 2.8 -> 3.4
6 years ago
Grzegorz Kostka
91d77a92de
Merge pull request #45 from MaskRay/include
Don't copy include
6 years ago
Grzegorz Kostka
4de1eee41c
Merge pull request #44 from MaskRay/const-const
Fix "const const" warning
6 years ago
Fangrui Song
d1f4f6d163
Fix jbd_commit_header::chksum_{type,size}
6 years ago
Fangrui Song
2a9f2cee31
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
6 years ago
Fangrui Song
1b92315e20
Don't copy include
6 years ago
Fangrui Song
6fdf5dc163
Fix "const const" warning
6 years ago
Fangrui Song
b9679f3553
Raise cmake_minimum_required: 2.8 -> 3.4
See CMP0065, otherwise -rdynamic is unconditionally added to linked executable. These .dynsym symbols are not really useful.
6 years ago
Grzegorz Kostka
c5f8d135cf
ext4: fix ext4_fsymlink creation
Solve the problem with long symbolic links creation.
Thanks to: @cobenhan
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
Grzegorz Kostka
dc0347cc9b
ext4: move ext4_fs_alloc_inode result check to right place
7 years ago
Grzegorz Kostka
96b4563a7e
Merge pull request #36 from mmmaisel/dev
Improvements from ext4-browser project
7 years ago
Grzegorz Kostka
66168642b9
Merge pull request #35 from mmmaisel/cmake
CMake: Added option whether to build static or shared library
7 years ago
Grzegorz Kostka
71d088e652
Merge pull request #34 from mmmaisel/master
Fix: ext4-mkfs and ext4-mbr-write use wrong partition size in case of multiple partitions
7 years ago
Max
cc37917dfb
CMake: Added option whether to build static or shared library
7 years ago
Max Maisel
de16b0f8bc
ext4-mkfs: Use correct partition size
7 years ago
Max Maisel
b0ddedb220
ext4-mbr-write: Fixed partition size calculation
7 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
Grzegorz Kostka
2d9c5b5d77
Merge pull request #33 from enetor/fseek
Use int64_t as offset to ext4_fseek.
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
Grzegorz Kostka
cc66c40218
Merge pull request #32 from enetor/useless-if
Remove an unuseful if check in ext4.c.
7 years ago
Fan Deng
ab4ed9a604
Remove an unuseful if check in ext4.c.
The if check on s_bdevices[i].name is unuseful, as 'name' always
evaluates to true:
if (s_bdevices[i].name) {
...
}
This change removes the check to be consistent with the rest of the code
(see line 124 and 144).
7 years ago
Grzegorz Kostka
d9ca5ea27b
Merge pull request #31 from raandoom/assert_release
Move function call outside assert()
7 years ago
raandoom
6e0a9f748f
move function call outside assert()
7 years ago
branzhu
fb46550c54
Fix a compile issue with big endian config & some small issues fixes
7 years ago
gkostka
7e9fa5accf
Suppress gcc 7.xx warnings (fall through in switch statement)
7 years ago
Kaho Ng
f371bc8b84
ext4_journal: fix not purging enough transactions
We have to purge all consecutive transactions that
has all its buffers written to persistent location.
7 years ago
Kaho Ng
47bbb862d8
ext4_balloc: fix not creating revoke records correctly
We fix ext4_balloc_free_blocks() not creating revoke records
correctly according to start block and block count parameter
from caller.
7 years ago
Kaho Ng
faa76ad23b
ext4_balloc: fix not invaliding cache correctly
We fix ext4_balloc_free_blocks() not invaliding cache
correctly according to start block and block count parameter
from caller.
7 years ago
Grzegorz Kostka
9b38aef313
ext4: fix transaction start/stop scopes
Remove transaction scope from ext4_generic_open2 method.
8 years ago
gkostka
6a77e61636
Change lwext4 license to GPL2
Some of the source files are licensed under GPL2. It makes whole
lwext4 GPL2 licensed. To use library as a BSD3, GPL licensed source
files must be removed first. At this point there are two files
licensed under GPL2:
* ext4_xattr.c
* ext4_extents.c
8 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
2a4f69fbab
toolchain: add toolchain files for new MCUs & simplify makefile
8 years ago