pstore/ram: Avoid needless alloc during header write
Since the header is a fixed small maximum size, just use a stack variableto avoid memory allocation in the write path.Signed-off-by: Kees Cook <keescook@chromium.org>
Kees Cook 7 years ago 93ee4b7d 47afd7ae