summaryrefslogtreecommitdiff
path: root/travis-ci
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-07-30 18:42:13 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-30 20:56:13 +0200
commitcae1e8fb88c5a6b0960a2d0be3df8755f0c78462 (patch)
tree9d48409c740837466558cf44c88be5927393ad65 /travis-ci
parent3660da17b0d6a0954a7e90eaca58d35ae53846e2 (diff)
downloadsystemd-cae1e8fb88c5a6b0960a2d0be3df8755f0c78462.tar.gz
loop-device: implicitly sync device on detach
Apparently, if IO is still in flight at the moment we invoke LOOP_CLR_FD it is likely simply dropped (probably because yanking physical storage, such as a USB stick would drop it too). Let's protect ourselves against that and always sync explicitly before we invoke it.
Diffstat (limited to 'travis-ci')
0 files changed, 0 insertions, 0 deletions