chiark / gitweb /
core: do not add "what" to RequiresMountsFor for network mounts
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 5 Oct 2013 17:09:43 +0000 (13:09 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 5 Oct 2013 17:39:46 +0000 (13:39 -0400)
commitfc676b00a7545743429e0c9b12a0f0707b1059aa
tree5fba4f44a27b9360ee84d921dcb2e304ef7b8883
parent9c03872bc8fb2a381eafe7301ef9811b641686dd
core: do not add "what" to RequiresMountsFor for network mounts

For cifs mount like //server/share, we would get
RequiresMountsFor=/server/share, which probably isn't
harmful, but quite confusing.

Unfortunately a bunch of static functions had to be moved
up, but patch is really one line.
src/core/mount.c