diff options
| author | Grzegorz Kostka <kostka.grzegorz@gmail.com> | 2018-04-05 10:54:24 +0200 |
|---|---|---|
| committer | Grzegorz Kostka <kostka.grzegorz@gmail.com> | 2018-04-05 10:54:24 +0200 |
| commit | dc0347cc9b3ea74da062c553dbcdc541c030f114 (patch) | |
| tree | 0b36352462207efd9a71cad00ce3ebdbc4fbee77 | |
| parent | 96b4563a7ed9f603a6f66cbe21cbd1acb2f0294a (diff) | |
ext4: move ext4_fs_alloc_inode result check to right place
| -rw-r--r-- | src/ext4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -994,10 +994,10 @@ static int ext4_generic_open2(ext4_file *f, const char *path, int flags, 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; + ext4_fs_inode_blocks_init(fs, &child_ref); /*Link with root dir.*/ r = ext4_link(mp, &ref, &child_ref, path, len, false); |
