]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: determine compression once, not twice
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2025 20:22:55 +0000 (22:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2025 20:31:39 +0000 (22:31 +0200)
commitb16cb30edd9b008f8d3dcacb6b6abe8009fa5315
treede9958f56ef9ad726b5dccede519341f50bdf1fb
parent7d52a608438948b523681653550bc2e90ee9dc9b
journal: determine compression once, not twice

This is just paranoia: let's determine the compression to use once,
instead of twice, after all te data is in journal files which might be
corrupted any time, and it would be weird if we came to different
results here each time.
src/libsystemd/sd-journal/journal-file.c