mirror of https://gitee.com/openkylin/linux.git
fb927284e4
The allocation of zram->compress_buffer is misssing a GFP_* specifier. This is equivalent to GFP_NOWAIT but it is more likely a omission. Since the allocation just above it uses GFP_KERNEL, there is no reason to use GFP_NOWAIT here. Therefore, add GFP_KERNEL. 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 |