chiark / gitweb /
tree-wide: make use of fsync_directory_of_file() all over the place
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Feb 2018 17:24:36 +0000 (18:24 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:00 +0000 (07:59 +0200)
commitca62631389dbc038c84a321f80e303f8903b7ea7
treed176a5f956979514d4434ded94cb4aefd52a0243
parent71b2b9d7412a0f916f5be02c73f8b12e531babf8
tree-wide: make use of fsync_directory_of_file() all over the place

Let's make use this at various places we call fsync(), to make things
fully reliable, as the kernel devs suggest to first fsync() files and
then fsync() the directories they are located in.
src/basic/fileio.c
src/libelogind/sd-id128/id128-util.c