When the allocation of zram->table fails, we set zram->disksize to zero to prevent accessing the unallocated table entries during cleanup. However, we currently don't take this precaution when the initialization fails earlier. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xvmalloc.c | ||
xvmalloc.h | ||
xvmalloc_int.h | ||
zram.txt | ||
zram_drv.c | ||
zram_drv.h | ||
zram_sysfs.c |