Skip to content
Commit 1dfff7dd authored by Kees Cook's avatar Kees Cook
Browse files

pstore: Pass record contents instead of copying



pstore_mkfile() shouldn't have to memcpy the record contents. It can use
the existing copy instead. This adjusts the allocation lifetime management
and renames the contents variable from "data" to "buf" to assist moving to
struct pstore_record in the future.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 7e8cc8dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment