diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-01 17:12:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-07-08 10:22:34 +0200 |
commit | 814a7e034516b8a917c7313d9800b45c9f5193df (patch) | |
tree | b0ad892c1ca4f7359beb6e71d46dad3613c008aa /src/basic/fs-util.h | |
parent | fs-util: make sure fsync_directory_of_file() does something useful on O_PATH fds (diff) | |
download | systemd-814a7e034516b8a917c7313d9800b45c9f5193df.tar.xz systemd-814a7e034516b8a917c7313d9800b45c9f5193df.zip |
fs-util: add API for fsync()ing parent dir of path
Diffstat (limited to 'src/basic/fs-util.h')
-rw-r--r-- | src/basic/fs-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h index 7f15b558ca..c4ab98dbb4 100644 --- a/src/basic/fs-util.h +++ b/src/basic/fs-util.h @@ -140,6 +140,7 @@ int unlinkat_deallocate(int fd, const char *name, UnlinkDeallocateFlags flags); int fsync_directory_of_file(int fd); int fsync_full(int fd); int fsync_path_at(int at_fd, const char *path); +int fsync_parent_at(int at_fd, const char *path); int syncfs_path(int atfd, const char *path); |