journal: fix boolean handling in MMapCache
authorLennart Poettering <lennart@poettering.net>
Wed, 3 Feb 2016 22:54:47 +0000 (23:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Feb 2016 22:58:53 +0000 (23:58 +0100)
commit739731cdace09ff179fdd75ae0714da0d81e384d
tree8078bb5319e6522fc7b92cd104d3ec8a136742d5
parent1411b09467c90ae358656d14165311090a2e175e
journal: fix boolean handling in MMapCache

Let's use bitfields for our booleans, and don't try to apply binary OR or addition on them, because that's weird and we
should instead use logical OR only.
src/journal/mmap-cache.c