summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>2013-08-16 13:58:00 -0700
committerTony Luck <tony.luck@intel.com>2013-08-19 11:53:50 -0700
commit3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9 (patch)
tree4176db7f1cb1868b6ceb589061df2112f23c0e1f /fs/ioctl.c
parentf8c62f34fe868f5bcca88a32e4a5c52b67de661d (diff)
downloadop-kernel-dev-3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9.zip
op-kernel-dev-3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9.tar.gz
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/ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud