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)
commit9abdcccc3d5f3c72f25cd48160f60d911353bee9
tree891a1584afc611a8312c1abbc39b4d2996033adf
parent0edae0b3ffa6fc968d63932347a4d74b0ad0340b
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