pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Fri, 16 Aug 2013 20:52:57 +0000 (13:52 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 19 Aug 2013 17:18:10 +0000 (10:18 -0700)
Pstore will make use of deflate and inflate algorithm to compress and decompress
the data. So when Pstore is enabled select zlib_deflate and zlib_inflate.

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>
fs/pstore/Kconfig

index ca71db6..983d951 100644 (file)
@@ -1,6 +1,8 @@
 config PSTORE
        bool "Persistent store support"
        default n
+       select ZLIB_DEFLATE
+       select ZLIB_INFLATE
        help
           This option enables generic access to platform level
           persistent storage via "pstore" filesystem that can