diff options
author | Namhyung Kim <namhyung@kernel.org> | 2016-05-18 21:00:05 +0900 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-05-31 12:36:44 -0700 |
commit | 98e44fda2ea19c0e8b0a2e0e4dcd3461251f09ea (patch) | |
tree | e467d0b5acdc426d6c1aa4354f12644fb5f453f8 /arch | |
parent | a1db8060f5c85e33ed810038036f409eed15decc (diff) | |
download | linux-98e44fda2ea19c0e8b0a2e0e4dcd3461251f09ea.tar.bz2 |
pstore: Enable compression on normal path (again)
The commit f0e2efcfd2717 ("pstore: do not use message compression
without lock") added a check to 'is_locked' to avoid breakage in
concurrent accesses. But it has a side-effect of disabling compression
on normal path since 'is_locked' variable is not set. As normal path
always takes the lock, it should be initialized to 1.
This also makes the unlock code a bit simpler.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions