cah [Wed, 5 Aug 2020 21:06:51 +0000 (23:06 +0200)]
Debug logz
cah [Wed, 5 Aug 2020 21:00:47 +0000 (23:00 +0200)]
Debug logz
Carl Hetherington [Sat, 4 Apr 2020 22:24:32 +0000 (00:24 +0200)]
Use authopen to acquire permissions to write to drives on macOS.
Carl Hetherington [Sat, 4 Apr 2020 19:13:17 +0000 (21:13 +0200)]
Fix for finding device sizes on macOS.
Carl Hetherington [Tue, 25 Jun 2019 13:19:16 +0000 (14:19 +0100)]
Windows build hack.
Carl Hetherington [Mon, 24 Jun 2019 20:31:00 +0000 (21:31 +0100)]
Hacks to allow OS X build for 32-bit.
Carl Hetherington [Mon, 24 Jun 2019 12:07:42 +0000 (13:07 +0100)]
Don't build fs_test stuff; it fails to link on OS X because it
tries to build 64-bit executables with 32-bit libraries, for
some reason.
Carl Hetherington [Tue, 18 Jun 2019 12:53:09 +0000 (13:53 +0100)]
Add cscript.
Carl Hetherington [Tue, 18 Jun 2019 11:05:34 +0000 (12:05 +0100)]
Fix #includes and build a shared library.
Carl Hetherington [Tue, 11 Jun 2019 22:57:56 +0000 (23:57 +0100)]
Basic build for OS X.
Carl Hetherington [Tue, 11 Jun 2019 22:27:22 +0000 (22:27 +0000)]
Possibly dubious patch to allow writing to partitions on Windows.
Grzegorz Kostka [Sun, 28 Apr 2019 15:40:05 +0000 (17:40 +0200)]
Merge pull request #49 from sirocyl/patch-1
Change badges to reflect project license status
Tyler True [Sat, 27 Apr 2019 04:00:42 +0000 (00:00 -0400)]
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.
Grzegorz Kostka [Mon, 3 Dec 2018 01:34:40 +0000 (02:34 +0100)]
Merge pull request #47 from MaskRay/jbd_commit_header
Fix jbd_commit_header::chksum_{type,size}
Grzegorz Kostka [Mon, 3 Dec 2018 01:33:44 +0000 (02:33 +0100)]
Merge pull request #46 from MaskRay/ext4_mkfs_info
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
Grzegorz Kostka [Mon, 3 Dec 2018 01:33:07 +0000 (02:33 +0100)]
Merge pull request #43 from MaskRay/cmake
Raise cmake_minimum_required: 2.8 -> 3.4
Grzegorz Kostka [Mon, 3 Dec 2018 01:32:28 +0000 (02:32 +0100)]
Merge pull request #45 from MaskRay/include
Don't copy include
Grzegorz Kostka [Mon, 3 Dec 2018 01:31:27 +0000 (02:31 +0100)]
Merge pull request #44 from MaskRay/const-const
Fix "const const" warning
Fangrui Song [Sun, 18 Nov 2018 06:39:12 +0000 (22:39 -0800)]
Fix jbd_commit_header::chksum_{type,size}
Fangrui Song [Sun, 18 Nov 2018 06:30:16 +0000 (22:30 -0800)]
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
Fangrui Song [Sat, 17 Nov 2018 23:03:32 +0000 (15:03 -0800)]
Don't copy include
Fangrui Song [Sun, 18 Nov 2018 21:48:31 +0000 (13:48 -0800)]
Fix "const const" warning
Fangrui Song [Mon, 19 Nov 2018 00:35:21 +0000 (16:35 -0800)]
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.
Grzegorz Kostka [Wed, 26 Sep 2018 20:35:36 +0000 (22:35 +0200)]
ext4: fix ext4_fsymlink creation
Solve the problem with long symbolic links creation.
Thanks to: @cobenhan
rajeshvenkataraman [Sun, 23 Sep 2018 14:49:30 +0000 (07:49 -0700)]
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.
Grzegorz Kostka [Thu, 5 Apr 2018 08:54:24 +0000 (10:54 +0200)]
ext4: move ext4_fs_alloc_inode result check to right place
Grzegorz Kostka [Thu, 1 Mar 2018 18:58:03 +0000 (19:58 +0100)]
Merge pull request #36 from mmmaisel/dev
Improvements from ext4-browser project
Grzegorz Kostka [Thu, 1 Mar 2018 18:51:41 +0000 (19:51 +0100)]
Merge pull request #35 from mmmaisel/cmake
CMake: Added option whether to build static or shared library
Grzegorz Kostka [Thu, 1 Mar 2018 18:51:06 +0000 (19:51 +0100)]
Merge pull request #34 from mmmaisel/master
Fix: ext4-mkfs and ext4-mbr-write use wrong partition size in case of multiple partitions
Max [Thu, 1 Mar 2018 16:20:35 +0000 (17:20 +0100)]
CMake: Added option whether to build static or shared library
Max Maisel [Thu, 1 Mar 2018 16:18:15 +0000 (17:18 +0100)]
ext4-mkfs: Use correct partition size
Max Maisel [Thu, 1 Mar 2018 16:16:18 +0000 (17:16 +0100)]
ext4-mbr-write: Fixed partition size calculation
Max Maisel [Thu, 1 Mar 2018 16:31:32 +0000 (17:31 +0100)]
ext4_mkfs: Added UUID parameter to create new filesystems with non-zero UUID
Max Maisel [Thu, 1 Mar 2018 16:28:40 +0000 (17:28 +0100)]
ext4_mbr: Added "disk_id" parameter to MBR creation function
Max Maisel [Thu, 1 Mar 2018 16:27:14 +0000 (17:27 +0100)]
ext4_blockdev: Added user data pointer
Grzegorz Kostka [Fri, 20 Oct 2017 07:40:37 +0000 (09:40 +0200)]
Merge pull request #33 from enetor/fseek
Use int64_t as offset to ext4_fseek.
Fan Deng [Wed, 18 Oct 2017 17:54:54 +0000 (10:54 -0700)]
Use int64_t as offset to ext4_fseek.
This change makes it possible to fseek backwards in fseek.
Tested:
make test_all
Grzegorz Kostka [Tue, 17 Oct 2017 22:47:00 +0000 (00:47 +0200)]
Merge pull request #32 from enetor/useless-if
Remove an unuseful if check in ext4.c.
Fan Deng [Tue, 17 Oct 2017 18:33:18 +0000 (11:33 -0700)]
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).
Grzegorz Kostka [Sun, 8 Oct 2017 20:51:51 +0000 (22:51 +0200)]
Merge pull request #31 from raandoom/assert_release
Move function call outside assert()
raandoom [Sun, 8 Oct 2017 20:27:36 +0000 (23:27 +0300)]
move function call outside assert()
branzhu [Thu, 13 Jul 2017 10:48:43 +0000 (10:48 +0000)]
Fix a compile issue with big endian config & some small issues fixes
gkostka [Tue, 11 Jul 2017 15:55:08 +0000 (17:55 +0200)]
Suppress gcc 7.xx warnings (fall through in switch statement)
Kaho Ng [Fri, 30 Jun 2017 12:05:07 +0000 (20:05 +0800)]
ext4_journal: fix not purging enough transactions
We have to purge all consecutive transactions that
has all its buffers written to persistent location.
Kaho Ng [Wed, 21 Jun 2017 20:20:43 +0000 (04:20 +0800)]
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.
Kaho Ng [Wed, 21 Jun 2017 18:26:19 +0000 (02:26 +0800)]
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.
Grzegorz Kostka [Wed, 31 May 2017 13:12:07 +0000 (15:12 +0200)]
ext4: fix transaction start/stop scopes
Remove transaction scope from ext4_generic_open2 method.
gkostka [Sat, 20 May 2017 08:01:47 +0000 (10:01 +0200)]
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
gkostka [Sat, 20 May 2017 07:35:40 +0000 (09:35 +0200)]
ext4_config: add defines allowing disabling xattr and extent modules
gkostka [Sat, 20 May 2017 07:23:54 +0000 (09:23 +0200)]
ext4_dir_idx: make qsort as a default dir idx sort algorithm
gkostka [Sat, 20 May 2017 06:39:52 +0000 (08:39 +0200)]
Make ext4_xattr & ext4_extents GPL licensed
gkostka [Wed, 19 Apr 2017 18:47:14 +0000 (20:47 +0200)]
ext4: add ext4_inode_exist method
gkostka [Wed, 19 Apr 2017 15:55:46 +0000 (17:55 +0200)]
toolchain: add toolchain files for new MCUs & simplify makefile
gkostka [Wed, 19 Apr 2017 14:35:14 +0000 (16:35 +0200)]
ext4_journal: fix error handling in jbd_get_fs
gkostka [Wed, 5 Apr 2017 18:12:52 +0000 (20:12 +0200)]
Change include type policy
Since all headers are ins separate directory, includes could be
done by using <> instead of "".
gkostka [Wed, 5 Apr 2017 17:47:04 +0000 (19:47 +0200)]
Name refactiring inside file_windows module
gkostka [Wed, 5 Apr 2017 17:43:19 +0000 (19:43 +0200)]
Rename ext4_filedev to file_dev
gkostka [Wed, 5 Apr 2017 17:35:46 +0000 (19:35 +0200)]
Rename io_raw module to more appropriate file_windows
gkostka [Wed, 5 Apr 2017 17:30:44 +0000 (19:30 +0200)]
Remove unused unpack_images make target
gkostka [Wed, 5 Apr 2017 17:28:15 +0000 (19:28 +0200)]
Remove prefix patch directory
Seems to be redundant.
gkostka [Wed, 5 Apr 2017 17:26:26 +0000 (19:26 +0200)]
Remove 7z archive with test images
Now images will be created by fsck.extN tool.
Grzegorz Kostka [Fri, 24 Mar 2017 07:54:22 +0000 (08:54 +0100)]
Merge pull request #22 from branzhu/master
Fix issues with big-endian system
branzhu [Fri, 24 Mar 2017 04:51:51 +0000 (00:51 -0400)]
Fix issues with big-endian system
Grzegorz Kostka [Wed, 8 Mar 2017 09:32:52 +0000 (10:32 +0100)]
Update README.md
Kaho Ng [Mon, 27 Feb 2017 16:52:03 +0000 (00:52 +0800)]
ext4_xattr: fix access violation if extra_isize is 0
Kaho Ng [Mon, 27 Feb 2017 16:17:43 +0000 (00:17 +0800)]
ext4_fs: set i_extra_isize to ext4_sblock::min_extra_isize
Kaho Ng [Mon, 27 Feb 2017 16:05:12 +0000 (00:05 +0800)]
ext4_inode: deal with i_extra_isize depending on inode size
Kaho Ng [Mon, 27 Feb 2017 14:49:53 +0000 (22:49 +0800)]
ext4_xattr: fix trying to read EA block even if it is absent
gkostka [Tue, 21 Feb 2017 20:30:54 +0000 (21:30 +0100)]
ext4_mkfs: add journal node creation support
gkostka [Sun, 19 Feb 2017 21:03:23 +0000 (22:03 +0100)]
ext4: improve dox documentation style
Grzegorz Kostka [Fri, 17 Feb 2017 13:30:30 +0000 (14:30 +0100)]
ext4: little style improvements
Grzegorz Kostka [Fri, 17 Feb 2017 12:44:05 +0000 (13:44 +0100)]
ext4: remove dynamic block cache allocation in ext4_mount
gkostka [Fri, 17 Feb 2017 00:36:29 +0000 (01:36 +0100)]
Update license file (github badge)
gkostka [Fri, 17 Feb 2017 00:26:56 +0000 (01:26 +0100)]
ext4: remove block cache parameter from device_register function
This parameter is useless since cache is always initialized by malloc.
gkostka [Fri, 17 Feb 2017 00:03:31 +0000 (01:03 +0100)]
Update licence file (comment scope remove)
gkostka [Thu, 16 Feb 2017 23:54:06 +0000 (00:54 +0100)]
ext4: add block device unregister by name & all methods
gkostka [Thu, 16 Feb 2017 22:22:36 +0000 (23:22 +0100)]
ext4: remove read-only check in get atime/mtime/ctime/mode/own methods
gkostka [Wed, 15 Feb 2017 21:56:06 +0000 (22:56 +0100)]
ext4: add methods to access file mode, owner, atime, mtime, ctime
Grzegorz Kostka [Fri, 3 Feb 2017 08:45:29 +0000 (09:45 +0100)]
Set theme jekyll-theme-hacker
gkostka [Thu, 19 Jan 2017 00:04:49 +0000 (01:04 +0100)]
ext4_journal: improve jbd_journal_alloc_block performance
Purge only one journal transaction if we are run out of journal
device space.
gkostka [Wed, 18 Jan 2017 21:35:36 +0000 (22:35 +0100)]
ext4: add ext4_cache_flush for explicit cache flush
gkostka [Thu, 1 Dec 2016 15:37:23 +0000 (16:37 +0100)]
ext4_blockdev: don't make zero length block read/write operations
Patch submitted by g.tywanczuk@posnet.com.
Kaho Ng [Mon, 21 Nov 2016 21:24:18 +0000 (05:24 +0800)]
ext4_journal: some reworks to stale metadata protection
Kaho Ng [Thu, 22 Sep 2016 07:21:51 +0000 (15:21 +0800)]
ext4_journal: modify the first 4 bytes of the logged block when needed
Kaho Ng [Thu, 22 Sep 2016 07:17:28 +0000 (15:17 +0800)]
ext4_journal: fix JBD_FLAG_ESCAPE handling
Grzegorz Kostka [Tue, 6 Sep 2016 00:33:12 +0000 (02:33 +0200)]
Merge pull request #15 from exander77/master
fix: mingw build
Ing. Radomír Polách [Mon, 5 Sep 2016 21:29:39 +0000 (23:29 +0200)]
fix: mingw build
Grzegorz Kostka [Fri, 26 Aug 2016 13:58:41 +0000 (15:58 +0200)]
Update README.md
Kaho Ng [Wed, 24 Aug 2016 07:18:09 +0000 (07:18 +0000)]
ext4_journal: do not replay revoked block within the same transaction
gkostka [Fri, 19 Aug 2016 11:03:21 +0000 (13:03 +0200)]
ext4_types: change "user" prefix to "ext4_user"
Prefix ext4_user looks more appropriately.
Grzegorz Kostka [Fri, 19 Aug 2016 11:01:42 +0000 (13:01 +0200)]
Merge pull request #13 from mmajewicz/malloc_substitution
ext4: easy malloc/calloc/realloc/free substitution
Michał Majewicz [Fri, 19 Aug 2016 10:31:13 +0000 (12:31 +0200)]
ext4: malloc substitution - moved option definition and changed names
Michał Majewicz [Fri, 19 Aug 2016 08:41:47 +0000 (10:41 +0200)]
ext4: easy malloc/calloc/realloc/free substitution
Grzegorz Kostka [Fri, 19 Aug 2016 09:21:11 +0000 (11:21 +0200)]
Merge pull request #12 from mmajewicz/extern_C_fix
ext4_block_group.h: fix lack of extern "C" closing brace
Michał Majewicz [Fri, 19 Aug 2016 08:40:50 +0000 (10:40 +0200)]
ext4_block_group.h: fix lack of extern "C" closing brace
Kaho Ng [Fri, 19 Aug 2016 02:36:57 +0000 (02:36 +0000)]
ext4_journal: tune the logic of block zeroing in write_commit_block()
gkostka [Tue, 16 Aug 2016 18:43:27 +0000 (20:43 +0200)]
ext4_mkfs: little function name refactoring
gkostka [Tue, 16 Aug 2016 18:26:57 +0000 (20:26 +0200)]
ext4_mkfs: improve block group init performance
gkostka [Tue, 16 Aug 2016 16:38:45 +0000 (18:38 +0200)]
ext4_mkfs: merge fill_bgroups and write_bgroups into one function
Previous implementation might alloc a lot of memory to hold
block group descriptors. Now only one block group descriptor
is allocated. However, this might have some performance consequences.
Kaho Ng [Wed, 29 Jun 2016 21:30:28 +0000 (05:30 +0800)]
ext4: add filetype checking to ext4_mknod