pstore: Remove write_buf() callback
authorKees Cook <keescook@chromium.org>
Mon, 6 Mar 2017 06:41:10 +0000 (22:41 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 22:01:02 +0000 (14:01 -0800)
commit4c9ec219766a217468fb94a281c416455a884dda
tree9a005a21de1dc1ff39e8033d303149dbebd92705
parentfdd0311863b32b42bb2c54e60c987bbbabc0c430
pstore: Remove write_buf() callback

Now that write() and write_buf() are functionally identical, this removes
write_buf(), and renames write_buf_user() to write_user(). Additionally
adds sanity-checks for pstore_info's declared functions and flags at
registration time.

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