lwext4.git
8 years agoFIX: stale #include "ext4_rbtree.h"
ngkaho1234 [Sun, 4 Oct 2015 13:52:15 +0000 (21:52 +0800)]
FIX: stale #include "ext4_rbtree.h"

8 years ago1. Use rbtree implementation from Freebsd kernel instead of the one from Linux Kernel...
ngkaho1234 [Sun, 4 Oct 2015 13:39:03 +0000 (21:39 +0800)]
1. Use rbtree implementation from Freebsd kernel instead of the one from Linux Kernel.2. FIX: ext4_xattr_item_alloc_data: data_size == 1 when copying the on-disk data to memory.

8 years agoEA supports code rewritten with the view of providing EA modification
ngkaho1234 [Sun, 4 Oct 2015 10:49:04 +0000 (18:49 +0800)]
EA supports code rewritten with the view of providing EA modification
supports.

8 years agoExperimental EA supports.
ngkaho1234 [Sat, 3 Oct 2015 19:40:14 +0000 (03:40 +0800)]
Experimental EA supports.

8 years agoFix indentation level in ext4_fs
gkostka [Thu, 1 Oct 2015 17:11:21 +0000 (19:11 +0200)]
Fix indentation level in ext4_fs

8 years agoMerge branch 'master' of https://github.com/ngkaho1234/lwext4
gkostka [Thu, 1 Oct 2015 17:04:26 +0000 (19:04 +0200)]
Merge branch 'master' of https://github.com/ngkaho1234/lwext4

8 years agoext4_fs.c: code indentation.
ngkaho1234 [Thu, 1 Oct 2015 15:30:21 +0000 (23:30 +0800)]
ext4_fs.c: code indentation.

8 years agoCONFIG_HAVE_OWN_ASSERT defaults to 0.
ngkaho1234 [Thu, 1 Oct 2015 15:25:49 +0000 (23:25 +0800)]
CONFIG_HAVE_OWN_ASSERT defaults to 0.

8 years agoMerge branch 'master' of https://github.com/gkostka/lwext4
Grzegorz Kostka [Thu, 1 Oct 2015 14:26:42 +0000 (16:26 +0200)]
Merge branch 'master' of https://github.com/gkostka/lwext4

8 years agoFIX: block bitmap is not correctly initialized.
ngkaho1234 [Thu, 1 Oct 2015 11:10:57 +0000 (19:10 +0800)]
FIX: block bitmap is not correctly initialized.

8 years agoext4_mount_point_stats should handle the path of files as well.
root [Wed, 30 Sep 2015 09:48:58 +0000 (09:48 +0000)]
ext4_mount_point_stats should handle the path of files as well.

8 years ago#include <fcntl.h> is needed.
ngkaho1234 [Tue, 29 Sep 2015 15:43:00 +0000 (08:43 -0700)]
#include <fcntl.h> is needed.

8 years ago#ifdef CONFIG_HAVE_OWN_OFLAGS should be #if. Also, if CONFIG_HAVE_OWN_OFLAGS == 1...
me [Tue, 29 Sep 2015 15:37:57 +0000 (08:37 -0700)]
#ifdef CONFIG_HAVE_OWN_OFLAGS should be #if. Also, if CONFIG_HAVE_OWN_OFLAGS == 1, the definitions from ext4.h is used instead of the one provided by your OS.

8 years agoCONFIG_HAVE_OWN_OFLAGS introduced.(In case you want to use those unistd definitions...
root [Tue, 29 Sep 2015 12:56:47 +0000 (12:56 +0000)]
CONFIG_HAVE_OWN_OFLAGS introduced.(In case you want to use those unistd definitions from your OS.)
ext4_dir_entry_rewind introduced.

8 years agoMerge pull request #7 from ngkaho1234/master
gkostka [Mon, 28 Sep 2015 15:32:33 +0000 (17:32 +0200)]
Merge pull request #7 from ngkaho1234/master

FIX: ext4_frename does not check whether the target file exist or not.

8 years agoFIX: ext4_frename does not check whether the target file exist or not.
ngkaho1234 [Mon, 28 Sep 2015 10:23:26 +0000 (18:23 +0800)]
FIX: ext4_frename does not check whether the target file exist or not.

8 years agoMerge pull request #6 from ngkaho1234/master
gkostka [Sun, 27 Sep 2015 06:02:51 +0000 (08:02 +0200)]
Merge pull request #6 from ngkaho1234/master

FIX: an extra block is freed when truncating an inode.

8 years agoFIX: an extra block is freed when truncating an inode.
ngkaho1234 [Sun, 27 Sep 2015 05:09:11 +0000 (13:09 +0800)]
FIX: an extra block is freed when truncating an inode.

8 years agosince EXT4_DIRECTORY_FILETYPE_* are duplication of EXT4_DIRENTRY_*, the former is...
ngkaho1234 [Sat, 26 Sep 2015 18:12:57 +0000 (02:12 +0800)]
since EXT4_DIRECTORY_FILETYPE_* are duplication of EXT4_DIRENTRY_*, the former is replaced by the later.

8 years agoRemove compilation warning (maybe-uninitialized)
gkostka [Sat, 26 Sep 2015 15:53:24 +0000 (17:53 +0200)]
Remove compilation warning (maybe-uninitialized)

8 years agoMerge branch 'master' of https://github.com/ngkaho1234/lwext4
gkostka [Sat, 26 Sep 2015 15:49:21 +0000 (17:49 +0200)]
Merge branch 'master' of https://github.com/ngkaho1234/lwext4

8 years agonew option: CONFIG_HAVE_OWN_ASSERT
ngkaho1234 [Sat, 26 Sep 2015 04:59:44 +0000 (12:59 +0800)]
new option: CONFIG_HAVE_OWN_ASSERT

8 years agoFIX: double free of inode reference happens.
ngkaho1234 [Sat, 26 Sep 2015 04:43:55 +0000 (12:43 +0800)]
FIX: double free of inode reference happens.

8 years agoUse -dead_strip linker flag instead of --gc-sections on OS X.
me [Thu, 24 Sep 2015 16:37:31 +0000 (09:37 -0700)]
Use -dead_strip linker flag instead of --gc-sections on OS X.

8 years agoremove file_expect argument from those ext4_fopen2 calls.
root [Thu, 24 Sep 2015 12:03:57 +0000 (12:03 +0000)]
remove file_expect argument from those ext4_fopen2 calls.

8 years agoRegard to gkostka, EXT4_MP_LOCK/UNLOCK should be implemented as recursive mutex.
ngkaho1234 [Thu, 24 Sep 2015 01:26:54 +0000 (09:26 +0800)]
Regard to gkostka, EXT4_MP_LOCK/UNLOCK should be implemented as recursive mutex.
https://github.com/ngkaho1234/lwext4/commit/d68a48bfeb7f77b46c64aa9dab1f93448c3ad601

8 years agoext4_fopen_all removed.
root [Wed, 23 Sep 2015 12:21:35 +0000 (12:21 +0000)]
ext4_fopen_all removed.

8 years agoMerge pull request #5 from ngkaho1234/master
gkostka [Tue, 22 Sep 2015 05:36:56 +0000 (07:36 +0200)]
Merge pull request #5 from ngkaho1234/master

Initial Symbolic link support.(Creation, deletion, readlink, but no modification can be made.)

8 years agoSymlink now can be removed by ext4_fremove.
root [Mon, 21 Sep 2015 23:33:49 +0000 (23:33 +0000)]
Symlink now can be removed by ext4_fremove.

8 years agoMerge remote-tracking branch 'upstream/master'
root [Mon, 21 Sep 2015 22:47:59 +0000 (22:47 +0000)]
Merge remote-tracking branch 'upstream/master'

8 years agoTypo fix
gkostka [Mon, 21 Sep 2015 22:27:43 +0000 (00:27 +0200)]
Typo fix

8 years agoIncrease max test buffer size
gkostka [Mon, 21 Sep 2015 22:14:22 +0000 (00:14 +0200)]
Increase max test buffer size

8 years agoRemove stupid STM code
gkostka [Mon, 21 Sep 2015 22:13:45 +0000 (00:13 +0200)]
Remove stupid STM code

8 years agostm32f429 demo code format
gkostka [Mon, 21 Sep 2015 21:10:36 +0000 (23:10 +0200)]
stm32f429 demo code format

8 years agoFix iostats in generic demo
gkostka [Mon, 21 Sep 2015 21:08:02 +0000 (23:08 +0200)]
Fix iostats in generic demo

8 years agoRemove chibios demo (hard to maintain with ChibiOS master tree)
gkostka [Mon, 21 Sep 2015 20:59:19 +0000 (22:59 +0200)]
Remove chibios demo (hard to maintain with ChibiOS master tree)

8 years agoDemo apps refactoring
gkostka [Mon, 21 Sep 2015 20:58:46 +0000 (22:58 +0200)]
Demo apps refactoring

8 years agoLinux line endings
gkostka [Mon, 21 Sep 2015 20:56:30 +0000 (22:56 +0200)]
Linux line endings

8 years agoMerge branch 'master' of https://github.com/ngkaho1234/lwext4
root [Mon, 21 Sep 2015 16:23:13 +0000 (16:23 +0000)]
Merge branch 'master' of https://github.com/ngkaho1234/lwext4

8 years agoInitial Symbolic support.
root [Mon, 21 Sep 2015 16:22:23 +0000 (16:22 +0000)]
Initial Symbolic support.

8 years agoMerge pull request #4 from ngkaho1234/master
gkostka [Mon, 21 Sep 2015 06:43:34 +0000 (08:43 +0200)]
Merge pull request #4 from ngkaho1234/master

FIX: the parent directory reference in child directory inode, a.k.a '..' dirent is not correctly reset during rename.

8 years agoMerge pull request #1 from gkostka/master
ngkaho1234 [Sun, 20 Sep 2015 23:17:08 +0000 (07:17 +0800)]
Merge pull request #1 from gkostka/master

Code formating

8 years agoChange ext4_fread & ext4_fwrite prototypes
gkostka [Sun, 20 Sep 2015 18:16:19 +0000 (20:16 +0200)]
Change ext4_fread & ext4_fwrite prototypes

It is better idea  to pass size_t type to fwrite & fread instead of uint32_t.

8 years agoCode format (spaces to tabs)
gkostka [Sun, 20 Sep 2015 17:41:28 +0000 (19:41 +0200)]
Code format (spaces to tabs)

8 years agoFIX: the parent directory reference in child directory inode, a.k.a '..' dirent is...
root [Sun, 20 Sep 2015 22:51:17 +0000 (22:51 +0000)]
FIX: the parent directory reference in child directory inode, a.k.a '..' dirent is not correctly reset during rename.

8 years agoRevert "FIX: the parent directory reference in child directory inode, a.k.a '..'...
root [Sun, 20 Sep 2015 22:48:48 +0000 (22:48 +0000)]
Revert "FIX: the parent directory reference in child directory inode, a.k.a '..' dirent is not correctly reset during rename."

This reverts commit 241ba2c8b4e76232dea9a44f3478ee6408ee41c1.

8 years agoFIX: the parent directory reference in child directory inode, a.k.a '..' dirent is...
root [Sun, 20 Sep 2015 22:47:37 +0000 (22:47 +0000)]
FIX: the parent directory reference in child directory inode, a.k.a '..' dirent is not correctly reset during rename.

8 years agoMerge pull request #3 from ngkaho1234/master
gkostka [Sun, 20 Sep 2015 19:06:40 +0000 (21:06 +0200)]
Merge pull request #3 from ngkaho1234/master

8 years agoChange ext4_fread & ext4_fwrite prototypes
gkostka [Sun, 20 Sep 2015 18:16:19 +0000 (20:16 +0200)]
Change ext4_fread & ext4_fwrite prototypes

It is better idea  to pass size_t type to fwrite & fread instead of uint32_t.

8 years agoCode format (spaces to tabs)
gkostka [Sun, 20 Sep 2015 17:41:28 +0000 (19:41 +0200)]
Code format (spaces to tabs)

8 years agoRemove a line of printf from ext4.c(it was originally for debug purpose).
root [Sun, 20 Sep 2015 17:31:28 +0000 (17:31 +0000)]
Remove a line of printf from ext4.c(it was originally for debug purpose).

8 years agoRevert "Symbolic link support: ext4_fsymlink proposed."
root [Sun, 20 Sep 2015 17:17:24 +0000 (17:17 +0000)]
Revert "Symbolic link support: ext4_fsymlink proposed."

This reverts commit ab3010aeb7aff7581d67866819a1ec74ce36916a.

8 years agoSymbolic link support: ext4_fsymlink proposed.
root [Sun, 20 Sep 2015 16:51:55 +0000 (16:51 +0000)]
Symbolic link support: ext4_fsymlink proposed.

8 years agoMerge pull request #2 from ngkaho1234/master
gkostka [Sun, 20 Sep 2015 16:51:46 +0000 (18:51 +0200)]
Merge pull request #2 from ngkaho1234/master

Merge ngkaho1234 branch

8 years agoHardlink suppert: ext4_flink interface proposed.
root [Sun, 20 Sep 2015 16:31:38 +0000 (16:31 +0000)]
Hardlink suppert: ext4_flink interface proposed.

8 years agoext4_ftruncate being separated into two parts: ext4_ftruncate_no_lock and ext4_ftruncate.
root [Sun, 20 Sep 2015 16:22:17 +0000 (16:22 +0000)]
ext4_ftruncate being separated into two parts: ext4_ftruncate_no_lock and ext4_ftruncate.

8 years agoRename process being refined.
root [Sun, 20 Sep 2015 16:09:45 +0000 (16:09 +0000)]
Rename process being refined.
Before removing reference from the original parent directory, we should first create reference to the new parent directory, that sounds better.

8 years agoext4_dir_dx_reset_parent_inode proposed.
root [Sun, 20 Sep 2015 16:00:06 +0000 (16:00 +0000)]
ext4_dir_dx_reset_parent_inode proposed.

8 years agoMerge pull request #1 from ngkaho1234/master
gkostka [Sun, 20 Sep 2015 14:27:55 +0000 (16:27 +0200)]
Merge pull request #1 from ngkaho1234/master

FIXME: MP lock was held without release at ext4_dir_entry_next in case the end of directory is reached.

8 years agoFIX: MP lock was held without release at ext4_dir_entry_next in case the end of direc...
ngkaho1234 [Sun, 20 Sep 2015 13:38:02 +0000 (21:38 +0800)]
FIX: MP lock was held without release at ext4_dir_entry_next in case the end of directory is reached.

8 years agoLinux line-endings
gkostka [Wed, 16 Sep 2015 21:46:35 +0000 (23:46 +0200)]
Linux line-endings

8 years agoResolve some endianes issues
gkostka [Wed, 16 Sep 2015 21:45:13 +0000 (23:45 +0200)]
Resolve some endianes issues

8 years agoLinux codestyle format (tabs indenation)
gkostka [Wed, 16 Sep 2015 21:23:38 +0000 (23:23 +0200)]
Linux codestyle format (tabs indenation)

8 years agongkaho1234: lwext4 improvments & bugfixes
gkostka [Wed, 16 Sep 2015 21:04:25 +0000 (23:04 +0200)]
ngkaho1234: lwext4 improvments & bugfixes

8 years agoMerge branch 'master' of git://git.code.sf.net/p/lwext4/git lwext4-0.8.0
gkostka [Thu, 23 Jul 2015 17:26:57 +0000 (19:26 +0200)]
Merge branch 'master' of git://git.code.sf.net/p/lwext4/git

8 years agoAdd CHANGELOG & version bump to 0.8.0
gkostka [Thu, 23 Jul 2015 17:22:49 +0000 (19:22 +0200)]
Add CHANGELOG & version bump to 0.8.0

8 years agoRemove warnings comming from assert macro usage
gkostka [Thu, 16 Jul 2015 21:47:51 +0000 (21:47 +0000)]
Remove warnings comming from assert macro usage

9 years agoFix comment typos
gkostka [Sun, 28 Jun 2015 07:22:35 +0000 (09:22 +0200)]
Fix comment typos

9 years agoFix typos in comments
gkostka [Sun, 28 Jun 2015 06:56:00 +0000 (08:56 +0200)]
Fix typos in comments

9 years agoCode format - parameter ordering & remove redundant braces
gkostka [Sun, 28 Jun 2015 06:49:23 +0000 (08:49 +0200)]
Code format - parameter ordering & remove redundant braces

9 years agoAdd const keyword in ext4_dir_entry_next return value
gkostka [Sun, 28 Jun 2015 06:42:00 +0000 (08:42 +0200)]
Add const keyword in ext4_dir_entry_next return value

9 years agoAdd const keyword to mountpoint parameter
gkostka [Sat, 27 Jun 2015 22:56:03 +0000 (00:56 +0200)]
Add const keyword to mountpoint parameter

9 years agoRemove warning
gkostka [Sat, 27 Jun 2015 22:55:39 +0000 (00:55 +0200)]
Remove warning

9 years agoCode format
gkostka [Sat, 27 Jun 2015 22:51:44 +0000 (00:51 +0200)]
Code format

9 years agoSet CMAKE_SYSTEM_NAME to Generic
gkostka [Sat, 27 Jun 2015 22:16:12 +0000 (00:16 +0200)]
Set CMAKE_SYSTEM_NAME to Generic

9 years agoCode fortmat with new clang formater (3.7)
gkostka [Sat, 27 Jun 2015 21:55:25 +0000 (23:55 +0200)]
Code fortmat with new clang formater (3.7)

9 years agoImprove include policy
gkostka [Sat, 27 Jun 2015 21:37:09 +0000 (23:37 +0200)]
Improve include policy

9 years agoChange structure braces policy
gkostka [Sat, 27 Jun 2015 21:16:25 +0000 (23:16 +0200)]
Change structure braces policy

9 years agoReadme update
gkostka [Tue, 16 Jun 2015 17:02:02 +0000 (19:02 +0200)]
Readme update

9 years agoclang-format: fs_test
gkostka [Tue, 16 Jun 2015 10:45:19 +0000 (11:45 +0100)]
clang-format: fs_test

9 years agoMerge branch 'master' of ssh://git.code.sf.net/p/lwext4/git-src
gkostka [Tue, 16 Jun 2015 10:35:37 +0000 (12:35 +0200)]
Merge branch 'master' of ssh://git.code.sf.net/p/lwext4/git-src

9 years agoclang-format: demos/chibios/common
gkostka [Tue, 16 Jun 2015 10:10:58 +0000 (11:10 +0100)]
clang-format: demos/chibios/common

9 years agoclang-format: generic demo app
gkostka [Tue, 16 Jun 2015 10:09:51 +0000 (11:09 +0100)]
clang-format: generic demo app

9 years agoclang-format: blockdev modules
gkostka [Tue, 16 Jun 2015 09:33:17 +0000 (10:33 +0100)]
clang-format: blockdev modules

9 years agoUpdate .gitignore
gkostka [Tue, 16 Jun 2015 09:07:43 +0000 (11:07 +0200)]
Update .gitignore

9 years agoclang-format: ext4_dir
gkostka [Tue, 16 Jun 2015 09:03:39 +0000 (10:03 +0100)]
clang-format: ext4_dir

9 years agoclang-format: ext4_debug
gkostka [Tue, 16 Jun 2015 09:03:29 +0000 (10:03 +0100)]
clang-format: ext4_debug

9 years agoclang-format: ext4_crc32c
gkostka [Tue, 16 Jun 2015 09:03:16 +0000 (10:03 +0100)]
clang-format: ext4_crc32c

9 years agoclang-format: ext4_config
gkostka [Tue, 16 Jun 2015 09:02:53 +0000 (10:02 +0100)]
clang-format: ext4_config

9 years agoclang-format: ext4_blockdev
gkostka [Tue, 16 Jun 2015 09:02:37 +0000 (10:02 +0100)]
clang-format: ext4_blockdev

9 years agoclang-format: ext4_block_group
gkostka [Tue, 16 Jun 2015 09:02:21 +0000 (10:02 +0100)]
clang-format: ext4_block_group

9 years agoclang-format: ext4_bitmap
gkostka [Tue, 16 Jun 2015 09:02:01 +0000 (10:02 +0100)]
clang-format: ext4_bitmap

9 years agoclang-format: ext4_bcache
gkostka [Tue, 16 Jun 2015 09:01:47 +0000 (10:01 +0100)]
clang-format: ext4_bcache

9 years agoclang-format: ext4_balloc
gkostka [Tue, 16 Jun 2015 09:01:33 +0000 (10:01 +0100)]
clang-format: ext4_balloc

9 years agoclang-format: ext4
gkostka [Tue, 16 Jun 2015 09:01:17 +0000 (10:01 +0100)]
clang-format: ext4

9 years agoStop generating Eclipse project files by default
gkostka [Tue, 16 Jun 2015 09:00:41 +0000 (10:00 +0100)]
Stop generating Eclipse project files by default

9 years agoclang-format: demos/chibios/common
gkostka [Tue, 16 Jun 2015 10:10:58 +0000 (11:10 +0100)]
clang-format: demos/chibios/common

9 years agoclang-format: generic demo app
gkostka [Tue, 16 Jun 2015 10:09:51 +0000 (11:09 +0100)]
clang-format: generic demo app

9 years agoclang-format: blockdev modules
gkostka [Tue, 16 Jun 2015 09:33:17 +0000 (10:33 +0100)]
clang-format: blockdev modules

9 years agoUpdate .gitignore
gkostka [Tue, 16 Jun 2015 09:07:43 +0000 (11:07 +0200)]
Update .gitignore