fs:ext4:write: Initialize cache aligned filename buffer
authorŁukasz Majewski <l.majewski@samsung.com>
Wed, 5 Dec 2012 08:06:40 +0000 (08:06 +0000)
committerTom Rini <trini@ti.com>
Fri, 7 Dec 2012 15:47:53 +0000 (08:47 -0700)
commit13d43555a9154cf12255023c47e80d947d7d0604
tree87c0164ebdca3110238832c7b6010d69c469a4be
parentd429ca0d831024b1b1845db8a5e950b44e10db04
fs:ext4:write: Initialize cache aligned filename buffer

The filename buffer is allocated dynamically. It must be cache aligned.
Moreover, it is necessary to erase its content before we use it for
file name operations.

This prevents from corruption of written file names.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
fs/ext4/ext4fs.c