Patchwork [RFC,v2,03/11] pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected

login
register
mail settings
Submitter Aruna Balakrishnaiah
Date Aug. 16, 2013, 1:17 p.m.
Message ID <20130816131755.3338.84273.stgit@aruna-ThinkPad-T420>
Download mbox | patch
Permalink /patch/267640/
State Superseded
Headers show

Comments

Aruna Balakrishnaiah - Aug. 16, 2013, 1:17 p.m.
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>
---
 fs/pstore/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index ca71db6..983d951 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -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