diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-05 14:03:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-05 15:47:32 +0200 |
commit | bf819d3ac2b015139a3571a953e0b361632ebb34 (patch) | |
tree | 310826a64f676490d66d6b4880dd177ea4af6909 /src/shared | |
parent | Merge pull request #20893 from poettering/per-user-oom-score (diff) | |
download | systemd-bf819d3ac2b015139a3571a953e0b361632ebb34.tar.xz systemd-bf819d3ac2b015139a3571a953e0b361632ebb34.zip |
basic: split out sync() family of calls from fs-util.[ch] into new c/h file
No changes in code, just some splitting out.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/copy.c | 1 | ||||
-rw-r--r-- | src/shared/install-file.c | 1 | ||||
-rw-r--r-- | src/shared/machine-id-setup.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/copy.c b/src/shared/copy.c index f27ce252ee..9053fce333 100644 --- a/src/shared/copy.c +++ b/src/shared/copy.c @@ -29,6 +29,7 @@ #include "stdio-util.h" #include "string-util.h" #include "strv.h" +#include "sync-util.h" #include "time-util.h" #include "tmpfile-util.h" #include "umask-util.h" diff --git a/src/shared/install-file.c b/src/shared/install-file.c index 664f028ad1..5187d71bec 100644 --- a/src/shared/install-file.c +++ b/src/shared/install-file.c @@ -10,6 +10,7 @@ #include "install-file.h" #include "missing_syscall.h" #include "rm-rf.h" +#include "sync-util.h" int fs_make_very_read_only(int fd) { struct stat st; diff --git a/src/shared/machine-id-setup.c b/src/shared/machine-id-setup.c index d2f989272d..e483675a75 100644 --- a/src/shared/machine-id-setup.c +++ b/src/shared/machine-id-setup.c @@ -9,7 +9,6 @@ #include "alloc-util.h" #include "fd-util.h" -#include "fs-util.h" #include "id128-util.h" #include "io-util.h" #include "log.h" @@ -23,6 +22,7 @@ #include "process-util.h" #include "stat-util.h" #include "string-util.h" +#include "sync-util.h" #include "umask-util.h" #include "util.h" #include "virt.h" |