kernel-fxtec-pro1x/fs/pstore
Anton Vorontsov 90b58d9690 pstore/ram: Fix error handling during przs allocation
persistent_ram_new() returns ERR_PTR() value on errors, so during
freeing of the przs we should check for both NULL and IS_ERR() entries,
otherwise bad things will happen.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-20 16:15:22 -07:00
..
inode.c pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
internal.h pstore: defer inserting OOPS entries into pstore 2011-08-16 11:53:01 -07:00
Kconfig pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
Makefile staging: android: persistent_ram: Move to fs/pstore/ram_core.c 2012-05-17 08:50:00 -07:00
platform.c pstore/platform: Disable automatic updates by default 2012-06-13 16:59:37 -07:00
ram.c pstore/ram: Fix error handling during przs allocation 2012-06-20 16:15:22 -07:00
ram_core.c pstore/ram: Probe as early as possible 2012-06-20 16:15:22 -07:00