linux/fs/pstore
Geliang Tang f88baf68eb ramoops: move spin_lock_init after kmalloc error checking
If cxt->pstore.buf allocated failed, no need to initialize
cxt->pstore.buf_lock. So this patch moves spin_lock_init() after the
error checking.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
2016-09-08 15:01:13 -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/pmsg: drop bounce buffer 2016-09-08 15:01:10 -07:00
pmsg.c pstore/pmsg: drop bounce buffer 2016-09-08 15:01:10 -07:00
ram.c ramoops: move spin_lock_init after kmalloc error checking 2016-09-08 15:01:13 -07:00
ram_core.c pstore/ram: Use memcpy_fromio() to save old buffer 2016-09-08 15:01:12 -07:00