]> git.ipfire.org Git - thirdparty/systemd.git/commit
compress: return errors without logging, do not fake errno
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Oct 2015 14:42:18 +0000 (10:42 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Oct 2015 01:24:36 +0000 (21:24 -0400)
commit5146f9f065dbc06b849f92fa00d8d57bd0096e12
tree9f8e8877854195d8940312a1bcd409a107f39298
parente06851720573d3adb4be54a1decfe35bc750b8f4
compress: return errors without logging, do not fake errno

Logging for compression and decompression is assymetrical on purpose:
if compiled without some type of compression, those compression code
paths should never be invoked. OTOH, it is possible to encounter
unsupported format on decompression, so leave those log_debug statements
in, to make it easier to diagnose stuff.
src/journal/compress.c