ext4_dir: fix non existing entry creation issue
authorrajeshvenkataraman <rajesh_venkataraman@trimble.com>
Sun, 23 Sep 2018 14:49:30 +0000 (07:49 -0700)
committerGrzegorz Kostka <kostka.grzegorz@gmail.com>
Wed, 26 Sep 2018 20:22:36 +0000 (22:22 +0200)
commit1aa974054274a4f59dfa59c88bb9a85461eca113
tree1e2f06b696787f9486f8f3a53848710a634d0437
parentdc0347cc9b3ea74da062c553dbcdc541c030f114
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.
include/ext4_dir_idx.h
src/ext4_dir.c
src/ext4_dir_idx.c