]> Git Repo - J-u-boot.git/commit
ext4: propagate error if creation of directory entry fails
authorStefan Brüns <[email protected]>
Tue, 6 Sep 2016 02:36:42 +0000 (04:36 +0200)
committerTom Rini <[email protected]>
Fri, 23 Sep 2016 13:02:35 +0000 (09:02 -0400)
commita0d767e2c1e40e781fdaa592f06f92614b4e5cdf
tree17aacbdac487f13d52ba2cc182df55fef108e1d5
parent76a29519ff87dd6a014d841a3a6e501d3b2f5153
ext4: propagate error if creation of directory entry fails

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 <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
fs/ext4/ext4_common.c
fs/ext4/ext4_common.h
fs/ext4/ext4_write.c
This page took 0.044461 seconds and 4 git commands to generate.