projects
/
lwext4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4_mkfs: add journal node creation support
[lwext4.git]
/
src
/
ext4.c
diff --git
a/src/ext4.c
b/src/ext4.c
index e877f13703fccea5a3d5106fb7ef414fae070778..b3f4aefa1c8309df1726bdc66e45c1b95f06c554 100644
(file)
--- a/
src/ext4.c
+++ b/
src/ext4.c
@@
-998,6
+998,8
@@
static int ext4_generic_open2(ext4_file *f, const char *path, int flags,
struct ext4_inode_ref child_ref;
r = ext4_fs_alloc_inode(fs, &child_ref,
is_goal ? ftype : EXT4_DE_DIR);
+
+ ext4_fs_inode_blocks_init(fs, &child_ref);
if (r != EOK)
break;