pstore: Add new argument 'compressed' in pstore write callback
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Fri, 16 Aug 2013 20:52:47 +0000 (13:52 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 19 Aug 2013 17:18:10 +0000 (10:18 -0700)
commitb3b515bbd689ba3937cac2dd3fc55057f8c50329
tree19cca07f50fb439d6e7d678516db2a9568b3e7ef
parenta3a5e94131d96ecdee7b1873a9d6215dc0ea7fff
pstore: Add new argument 'compressed' in pstore write callback

Addition of new argument 'compressed' in the write call back will
help the backend to know if the data passed from pstore is compressed
or not (In case where compression fails.). If compressed, the backend
can add a tag indicating the data is compressed while writing to
persistent store.

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>
arch/powerpc/platforms/pseries/nvram.c
drivers/acpi/apei/erst.c
drivers/firmware/efi/efi-pstore.c
fs/pstore/platform.c
fs/pstore/ram.c
include/linux/pstore.h