pstore: Replace arguments for write() API
Similar to the pstore_info read() callback, there were too many arguments.
This switches to the new struct pstore_record pointer instead. This adds
"reason" and "part" to the record structure as well.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cdce7a5 commit da9b86ec0fbec0eb60646e7a3c700076a423717d
@Kees Cook Kees Cook authored on 15 Mar 2019
Sascha Hauer committed on 18 Mar 2019
Showing 2 changed files
View
fs/pstore/platform.c
View
include/linux/pstore.h