]> git.sur5r.net Git - u-boot/commit
ext4: Scan all directory blocks when looking up an entry
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 6 Sep 2016 02:36:46 +0000 (04:36 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:02:38 +0000 (09:02 -0400)
commitb7dd40d05235871a5e6cae02f38c14dc6487d352
tree710982af8e352a6c7786e51619575a9b8f7f3250
parent10a7a1b8babbdd5684684da31482eab1931316f0
ext4: Scan all directory blocks when looking up an entry

Scanning only the direct blocks of the directory file may falsely report
an existing file as nonexisting, and worse can also lead to creation
of a duplicate entry on file creation.

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