]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journal-file.c
journal: fix error handling when compressing journal objects
authorLennart Poettering <lennart@poettering.net>
Sat, 24 Oct 2015 11:17:54 +0000 (13:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 24 Oct 2015 11:19:42 +0000 (13:19 +0200)
commitd1afbcd22170e95c79261340071d376fe41fc3af
treef212080a9afbc69adb867bdca1f3e91cbdae3c38
parent931c7feac07aa0f8c1be02b4f746a568c9cae883
journal: fix error handling when compressing journal objects

Let's make sure we handle compression errors properly, and don't
misunderstand an error for success.

Also, let's actually compress things if lz4 is enabled.

Fixes #1662.
src/journal/journal-file.c
src/journal/journal-file.h