pstore: Do not duplicate record metadata
authorKees Cook <keescook@chromium.org>
Sun, 5 Mar 2017 07:12:24 +0000 (23:12 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 22:00:59 +0000 (14:00 -0800)
commit83f70f0769ddd8a368cb6346a918102818232962
treec5e0f64fc25986538436a165ad70e81f216dbbbc
parent2a2b0acf768cfb2a9cf6c3b42b0e0eb25cbb5814
pstore: Do not duplicate record metadata

This switches the inode-private data from carrying duplicate metadata to
keeping the record passed in during pstore_mkfile().

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