pstore/ram: Move internal definitions out of kernel-wide include
authorKees Cook <keescook@chromium.org>
Tue, 11 Oct 2022 20:01:10 +0000 (13:01 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 17 Oct 2022 20:14:32 +0000 (13:14 -0700)
commit8bd4da0f0626ae9a82099d3d99cd6efd4355879b
tree9e5b5ea39adada94121afefbc763e1e47d4a0aee
parent6daf4e82bd54ef004ace4dd6deed60a32c282a95
pstore/ram: Move internal definitions out of kernel-wide include

Most of the details of the ram backend are entirely internal to the
backend itself. Leave only what is needed to instantiate a ram backend
in the kernel-wide header.

Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-and-tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Link: https://lore.kernel.org/r/20221011200112.731334-4-keescook@chromium.org
fs/pstore/ram.c
fs/pstore/ram_core.c
fs/pstore/ram_internal.h [new file with mode: 0644]
include/linux/pstore_ram.h