ext4: Avoid corruption of directories with hash tree indexes
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 6 Sep 2016 02:36:45 +0000 (04:36 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:02:37 +0000 (09:02 -0400)
commit10a7a1b8babbdd5684684da31482eab1931316f0
treedf0ba5bf0a6a92dde90ce37dd943149ecd172dfb
parenta321abd54fa025114df2002b33ea17adc6b998b7
ext4: Avoid corruption of directories with hash tree indexes

While directories can be read using the old linear scan method, adding a
new file would require updating the index tree (alternatively, the whole
tree could be removed).

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
fs/ext4/ext4_write.c
include/ext4fs.h