diff options
author | Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> | 2013-08-16 13:58:00 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-08-19 11:53:50 -0700 |
commit | 3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9 (patch) | |
tree | 4176db7f1cb1868b6ceb589061df2112f23c0e1f /fs/file.c | |
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>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions