]> git.ipfire.org Git - thirdparty/systemd.git/commit
mmap-cache: each Window is owned by MMapFileDescriptor 29439/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 29 Sep 2023 22:10:27 +0000 (07:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Oct 2023 10:53:27 +0000 (19:53 +0900)
commit0073f6c62337712473965ad9b21cb47b124caca6
tree1eb6bbc6e819fb85334bb952d508be9694b5ff43
parent40f5e6a941c37efe79cf29b6f9d4d938452040cc
mmap-cache: each Window is owned by MMapFileDescriptor

And MMapFileDescriptor always references MMapCache, hence it is not
necessary Window to have a reference to MMapCache.

This also renames the list fields 'by_fd' -> 'windows', to make them
consistent with the name of the head.

No functional change, just refactoring.
src/libsystemd/sd-journal/mmap-cache.c