diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-07-30 18:42:13 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-07-30 20:56:13 +0200 |
commit | cae1e8fb88c5a6b0960a2d0be3df8755f0c78462 (patch) | |
tree | 9d48409c740837466558cf44c88be5927393ad65 /NEWS | |
parent | 3660da17b0d6a0954a7e90eaca58d35ae53846e2 (diff) | |
download | systemd-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 'NEWS')
0 files changed, 0 insertions, 0 deletions