commit | 3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9 | [log] [tgz] |
---|---|---|
author | Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> | Fri Aug 16 13:58:00 2013 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Mon Aug 19 11:53:50 2013 -0700 |
tree | 4176db7f1cb1868b6ceb589061df2112f23c0e1f | |
parent | f8c62f34fe868f5bcca88a32e4a5c52b67de661d [diff] |
pstore/ram: Read and write to the 'compressed' flag of pstore In pstore write, add character 'C'(compressed) or 'D'(decompressed) in the header while writing to Ram persistent buffer. In pstore read, read the header and update the 'compressed' flag accordingly. Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>