Always create dependencies for bind mounts
authorMichal Koutný <mkoutny@suse.com>
Tue, 19 Apr 2016 16:44:40 +0000 (18:44 +0200)
committerMichal Koutný <mkoutny@suse.com>
Mon, 25 Apr 2016 11:12:02 +0000 (13:12 +0200)
commit26919ac110c543291b1ad6fa6f22f56253de704d
tree1eb492cd75ecf4efd5062ea1a564cda0c2171562
parent0c1792efe422622c3c8a11b70a722147304da4cb
Always create dependencies for bind mounts

Dependencies were not created for _netdev mountpoints, the reasoning for this
is in the commit fc676b00, i.e. to avoid adding dependencies for network
mountpoints where What= appears like a path. Thus proposing this semantically
more correct condition when dependencies are added for _actual_ bind mounts
irrespectively of network flag.

Consequently it allows to add _netdev option to bind mounts, which includes
them in remote-fs.target, which simplifies configuration.
src/core/mount.c