Re: [U-Boot] [PATCH 2/3] ext4: propagate error if creation of directory entry fails

2016-08-18 Thread Lukasz Majewski
Hi Stefan, > In case the dir entry creation failed, ext4fs_write would later > overwrite a random inode, as inodeno was never initialized. > > Signed-off-by: Stefan Brüns > --- > fs/ext4/ext4_common.c | 12 ++-- > fs/ext4/ext4_common.h | 2 +- > fs/ext4/ext4_write.c | 4 +++- > 3 fil

[U-Boot] [PATCH 2/3] ext4: propagate error if creation of directory entry fails

2016-08-14 Thread Stefan Brüns
In case the dir entry creation failed, ext4fs_write would later overwrite a random inode, as inodeno was never initialized. Signed-off-by: Stefan Brüns --- fs/ext4/ext4_common.c | 12 ++-- fs/ext4/ext4_common.h | 2 +- fs/ext4/ext4_write.c | 4 +++- 3 files changed, 10 insertions(+),