shutdown: teach sync_with_progress() to optionally sync a specific fd only
authorLennart Poettering <lennart@poettering.net>
Mon, 9 Sep 2024 15:49:33 +0000 (17:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 Sep 2024 17:12:31 +0000 (19:12 +0200)
commit13b5225d6278af15e84ebd1889f04cfe81b47787
treea3744f9123f530eb239fabb07ad266863be1d1ac
parent8b29949a4142318bacf3d30751aa37b8f29b5c1e
shutdown: teach sync_with_progress() to optionally sync a specific fd only

This is preparation for reusing the logic for syncing DM and other
devices with a timeout applied.
src/shared/async.c
src/shared/async.h
src/shutdown/shutdown.c
src/shutdown/shutdown.h [new file with mode: 0644]