[GIT PULL] pstore fixes for v5.5-rc5

From: Kees Cook
Date: Thu Jan 02 2020 - 15:55:14 EST


Hi Linus,

Please pull these two pstore fixes for v5.5-rc5.

Thanks!

-Kees

The following changes since commit d1eef1c619749b2a57e514a3fa67d9a516ffa919:

Linux 5.5-rc2 (2019-12-15 15:16:08 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v5.5-rc5

for you to fetch changes up to 9e5f1c19800b808a37fb9815a26d382132c26c3d:

pstore/ram: Write new dumps to start of recycled zones (2020-01-02 12:30:50 -0800)

----------------------------------------------------------------
pstore bug fixes

- always reset circular buffer state when writing new dump (Aleksandr Yashkin)
- fix rare error-path memory leak (Kees Cook)

----------------------------------------------------------------
Aleksandr Yashkin (1):
pstore/ram: Write new dumps to start of recycled zones

Kees Cook (1):
pstore/ram: Fix error-path memory leak in persistent_ram_new() callers

fs/pstore/ram.c | 13 +++++++++++++
1 file changed, 13 insertions(+)

--
Kees Cook