mmap-cache: add MMapFileDescriptor.cache accessor
authorVito Caputo <vcaputo@pengaru.com>
Thu, 25 Nov 2021 23:07:39 +0000 (15:07 -0800)
committerVito Caputo <vcaputo@pengaru.com>
Tue, 7 Dec 2021 20:42:19 +0000 (12:42 -0800)
commit176bf8b82783b76c85e890610a6c2c6fafb5db6a
tree344c74dc9dcf1379c9db8f8e8a0fc9439e3a28be
parentfd9ac6c3078ba1c0037c10bdb0412d84e0b76966
mmap-cache: add MMapFileDescriptor.cache accessor

Sometimes we want to reuse an existing MMapFileDescriptor's
cache, but it's a private struct.

This lets us access that pointer if necessary.
src/libsystemd/sd-journal/mmap-cache.c
src/libsystemd/sd-journal/mmap-cache.h