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 năm trước cách đây
mục cha
commit
90ce4ca668
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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