[GIT PULL] pstore fixes for v5.2-rc4

From: Kees Cook
Date: Tue Jun 04 2019 - 23:24:22 EST


Hi Linus,

Please pull these pstore fixes for v5.2-rc4. They've been in linux-next
for a bit now and catch some pstore corner cases found recently.

Thanks!

-Kees

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v5.2-rc4

for you to fetch changes up to 8880fa32c557600f5f624084152668ed3c2ea51e:

pstore/ram: Run without kernel crash dump region (2019-05-31 01:19:06 -0700)

----------------------------------------------------------------
pstore fixes for v5.2-rc4

- Avoid NULL deref when unloading/reloading ramoops module (Pi-Hsun Shih)
- Run ramoops without crash dump region

----------------------------------------------------------------
Kees Cook (1):
pstore/ram: Run without kernel crash dump region

Pi-Hsun Shih (1):
pstore: Set tfm to NULL on free_buf_for_compression

fs/pstore/platform.c | 7 +++++--
fs/pstore/ram.c | 36 +++++++++++++++++++++++-------------
2 files changed, 28 insertions(+), 15 deletions(-)

--
Kees Cook