]> git.karo-electronics.de Git - linux-beck.git/commit
pstore: do not use message compression without lock
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Thu, 21 May 2015 16:26:19 +0000 (09:26 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 21 May 2015 16:26:19 +0000 (09:26 -0700)
commitf0e2efcfd271733119cfe499f5811968544cbe7b
tree7498547b41f58762556ce447684ba96fc8cfba1d
parente26081808edadfd257c6c9d81014e3b25e9a6118
pstore: do not use message compression without lock

pstore_compress() uses static stream buffer for zlib-deflate which
easily crashes when several concurrent threads use one shared state.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/platform.c