iolog: fix duplicate handling of compression end
authorJens Axboe <axboe@fb.com>
Thu, 19 May 2016 21:49:57 +0000 (15:49 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 19 May 2016 21:49:57 +0000 (15:49 -0600)
commit6fa3ad511a61666b492ed8126330db9f876359bc
tree69e136a2afe09849e8b5d12e900df57f13215fe2
parent040238ec861c6cf3ac3afdf2a6735ca23ef1cee5
iolog: fix duplicate handling of compression end

Also handle an error return from deflate() with Z_FINISH.

Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c