WSL2-Linux-Kernel/fs/pstore
Hiraku Toyooka e976e56423 ramoops: use persistent_ram_free() instead of kfree() for freeing prz
persistent_ram_zone(=prz) structures are allocated by persistent_ram_new(),
which includes vmap() or ioremap(). But they are currently freed by
kfree(). This uses persistent_ram_free() for correct this asymmetry usage.

Signed-off-by: Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
Cc: Mark Salyzyn <salyzyn@android.com>
Cc: Seiji Aguchi <seiji.aguchi.tr@hitachi.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
2016-08-05 11:21:46 -07:00
..
Kconfig pstore: add lzo/lz4 compression support 2016-06-02 10:59:31 -07:00
Makefile pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
ftrace.c pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
inode.c pstore: drop file opened reference count 2016-06-02 11:24:52 -07:00
internal.h pstore: Fix return type of pstore_is_mounted() 2015-10-22 10:57:33 -07:00
platform.c pstore: add lzo/lz4 compression support 2016-06-02 10:59:31 -07:00
pmsg.c pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
ram.c ramoops: use persistent_ram_free() instead of kfree() for freeing prz 2016-08-05 11:21:46 -07:00
ram_core.c pstore-ram: Allow optional mapping with pgprot_noncached 2014-12-11 13:38:31 -08:00