Browse Source

pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected

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>
Aruna Balakrishnaiah 12 years ago
parent
commit
90ce4ca668
1 changed files with 2 additions and 0 deletions
  1. 2 0
      fs/pstore/Kconfig

+ 2 - 0
fs/pstore/Kconfig

@@ -1,6 +1,8 @@
 config PSTORE
 config PSTORE
 	bool "Persistent store support"
 	bool "Persistent store support"
 	default n
 	default n
+	select ZLIB_DEFLATE
+	select ZLIB_INFLATE
 	help
 	help
 	   This option enables generic access to platform level
 	   This option enables generic access to platform level
 	   persistent storage via "pstore" filesystem that can
 	   persistent storage via "pstore" filesystem that can