summaryrefslogtreecommitdiffstats
path: root/src/shared/loop-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-07-30 18:48:52 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-24 21:59:35 +0200
commit8dbc208cc1a7bbd9af44d98df4a4eb472266699a (patch)
treef1cdc885ff11663a8fa2ba44a58f8d7486558636 /src/shared/loop-util.h
parentmkdir: add new mkdir_p_root() helper (diff)
downloadsystemd-8dbc208cc1a7bbd9af44d98df4a4eb472266699a.tar.xz
systemd-8dbc208cc1a7bbd9af44d98df4a4eb472266699a.zip
loop-util: define API for syncing loopback device
Diffstat (limited to 'src/shared/loop-util.h')
-rw-r--r--src/shared/loop-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/loop-util.h b/src/shared/loop-util.h
index 73f82a6d30..16f215b059 100644
--- a/src/shared/loop-util.h
+++ b/src/shared/loop-util.h
@@ -26,3 +26,4 @@ void loop_device_relinquish(LoopDevice *d);
int loop_device_refresh_size(LoopDevice *d, uint64_t offset, uint64_t size);
int loop_device_flock(LoopDevice *d, int operation);
+int loop_device_sync(LoopDevice *d);