pstore: Centralize init/exit routines
authorKees Cook <keescook@chromium.org>
Thu, 18 Oct 2018 18:17:42 +0000 (11:17 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 22 Oct 2018 14:11:58 +0000 (07:11 -0700)
commitcb095afd44768bf495894b9ad063bd078e4bb201
tree60305776bfe4f5bb50f9df1527893f04b7f2a016
parent57361846b52bc686112da6ca5368d11210796804
pstore: Centralize init/exit routines

In preparation for having additional actions during init/exit, this moves
the init/exit into platform.c, centralizing the logic to make call outs
to the fs init/exit.

Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Guenter Roeck <groeck@chromium.org>
fs/pstore/inode.c
fs/pstore/internal.h
fs/pstore/platform.c