chiark / gitweb /
mount: add remote-fs dependencies if needed after change
authorChris Leech <cleech@redhat.com>
Mon, 24 Nov 2014 04:33:40 +0000 (20:33 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 28 Nov 2014 19:30:50 +0000 (14:30 -0500)
commita6d305f91d722e136c29222070efed5c5d8b120b
tree0ac59a8e007138cd618f3efff1171f9dca1d4d82
parentbefb6d54948480f836d53d633bef27e3505818c1
mount: add remote-fs dependencies if needed after change

This is an attempt to add it the remote-fs dependencies to a mount unit
if the options change, like when the utab options are picked up after
mountinfo has already been processed.  It just adds the remote-fs
dependencies, leaving the local-fs ones in place.

With this change I always get mount units with proper remote-fs
dependencies when mounted with the _netdev option.
src/core/mount.c