]> git.ipfire.org Git - people/ms/u-boot.git/commit
ext4: Do not clear zalloc'ed buffers a second time
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 6 Sep 2016 02:36:48 +0000 (04:36 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:02:39 +0000 (09:02 -0400)
commite927265225bf298d25b312758718cbc31510b175
tree4487b517b106b38cc7d7366b5b76dd0c1aee03b8
parent398d6fad921ec0bc82ae98250831216a363c38b6
ext4: Do not clear zalloc'ed buffers a second time

zero_buffer is never written, thus clearing it is pointless.
journal_buffer is completely initialized by ext4fs_devread (or in case
of failure, not used).

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