pstore: Move record decompression to function
authorKees Cook <keescook@chromium.org>
Sat, 4 Mar 2017 01:35:25 +0000 (17:35 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 22:00:54 +0000 (14:00 -0800)
commit634f8f5167c88052ce6d28e519ff6325172191dc
tree8709cf4baac0d127482b31d1df849ae1c1d2489d
parent9abdcccc3d5f3c72f25cd48160f60d911353bee9
pstore: Move record decompression to function

This moves the record decompression logic out to a separate function
to avoid the deep indentation.

Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/platform.c