]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount.c
mount: don't claim a device is gone from /proc/self/mountinfo before it is gone from...
authorLennart Poettering <lennart@poettering.net>
Tue, 19 May 2015 11:50:36 +0000 (13:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 May 2015 11:50:36 +0000 (13:50 +0200)
commitfcd8b266edf0df2b85079fcf7b099cd4028740e6
tree2a3c036e86caf6c72382811edf16ded720ee9192
parent2005219f83130a8d5948b070b132f5dc21400a5f
mount: don't claim a device is gone from /proc/self/mountinfo before it is gone from *all* lines

Devices might be referenced by multiple mount points in
/proc/self/mountinfo, hence we should consider them unmounted only after
they disappeared from all lines, not just from one.

http://lists.freedesktop.org/archives/systemd-devel/2015-May/032026.html
src/core/mount.c