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:Richard Weinberger <richard@nod.at> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
Loading
Please register or sign in to comment