]> git.ipfire.org Git - thirdparty/systemd.git/commit
fs-util: add fsync_full() helper
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Jul 2019 11:48:12 +0000 (13:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Jul 2019 15:10:51 +0000 (17:10 +0200)
commit63d59b8dcf4a911703e5188bc14c39b5eea0d050
treef15da3a3145393f1bfe2d5ed534397f0fa6c5613
parent57cd822887e5fe7b3c3a55098ac16544195f3d21
fs-util: add fsync_full() helper

We usually combine an fsync() with fsync_directory_of_file() hence let's
add a helper that does both in one.
src/basic/fs-util.c
src/basic/fs-util.h