pstore: Use zlib_inflateInit2 instead of zlib_inflateInit
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Wed, 11 Sep 2013 17:58:03 +0000 (10:58 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 16 Sep 2013 16:28:29 +0000 (09:28 -0700)
commitb61edf8e7cf9d8d450b65588b2ff40dfb8c2fd9b
treea5327e81ce5912dbc130f62550a983369e85921b
parent7de8fe2fa8f94985a83120f04d41a93425ea66ba
pstore: Use zlib_inflateInit2 instead of zlib_inflateInit

Since zlib_deflateInit2() is used for specifying window bit during compression,
zlib_inflateInit2() is appropriate for decompression.

Reported-by: Seiji Aguchi <seiji.aguchi@hds.com>
Tested-by: Seiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/platform.c