]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: Extract common arguments into structure
authorKees Cook <keescook@chromium.org>
Sat, 4 Mar 2017 00:59:29 +0000 (16:59 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 22:00:53 +0000 (14:00 -0800)
commit73b5d08c3d9e1468a3ba18510f2cf18711cb8be9
tree891a1584afc611a8312c1abbc39b4d2996033adf
parent08799a9c7de8e9dc1f8937d60e03b0a20340bee0
pstore: Extract common arguments into structure

The read/mkfile pair pass the same arguments and should be cleared
between calls. Move to a structure and wipe it after every loop.

Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/platform.c
include/linux/pstore.h