]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/fs-util.c
journal: add inotify watches by-fd instead of by-path
authorLennart Poettering <lennart@poettering.net>
Sun, 24 Apr 2016 22:18:27 +0000 (00:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 10:00:03 +0000 (12:00 +0200)
commit430fbf8e7ff4368f6d43a8f86e0bc6494b0a979c
tree5e03daeb3bb021458d763109c0d94ee401439e05
parent4f4d6ee4be1c5d3bb2f3ebce7d2d332285963830
journal: add inotify watches by-fd instead of by-path

This is slightly nicer, since we actually watch the directories we opened and
enumerate. However, primarily this is preparation for adding support for
opening journal files by fd without specifying any path, to be added in a later
commit.
src/basic/fs-util.c
src/basic/fs-util.h
src/journal/sd-journal.c