Skip to content
Commit 107ed846 authored by Richard Weinberger's avatar Richard Weinberger Committed by Tom Rini
Browse files

ext4: Fix zalloc()



Currently, zalloc() calls uncondtionally memset(),
if the allocation failes, memset() will write to a null pointer.

Fix by using kzalloc().

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Reviewed-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent a29805d8
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment