]> git.ipfire.org Git - thirdparty/systemd.git/commit
mount: regenerate all deps whenever a mount's parameters changes
authorLennart Poettering <lennart@poettering.net>
Wed, 28 Nov 2018 13:56:27 +0000 (14:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Dec 2018 16:35:32 +0000 (17:35 +0100)
commita37422045fbb68ad68f734e5dc00e0a5b1759773
tree3c6abbdb3baeb62d5ebcb0745d41a291c630e379
parent6d7e89b07065b8c49af47aaf1ccc336d017fc3a2
mount: regenerate all deps whenever a mount's parameters changes

Whenever we notice a change on an existing /proc/self/mountinfo line,
let's update the deps generated from it. For that, let's flush out the
old deps generated this way, and add in the new ones.

This takes benefit of the fact that today (unlike a comment this patch
removes says) we can remove deps in a somewhat reasonable way.
src/core/mount.c