chiark / gitweb /
mount: load only if we there's mountinfo or fragment
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 28 Jun 2012 23:50:31 +0000 (01:50 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 29 Jun 2012 00:10:41 +0000 (02:10 +0200)
commit8eba616fc09b854d13de5dacc5b31b1009c4e8d4
treeed04bc9cf427cf346afc3f473a97df247296e4f2
parent1a4ac875003b49132c55a0ef36cd6ae2a15d3ac2
mount: load only if we there's mountinfo or fragment

Having information from /proc/self/mountinfo is sufficient to consider a
mount unit loaded.

When there's no mountinfo, the loading of the fragment for the mount
unit is not optional. No extra dependency links must be added when the
loading fails.

https://bugzilla.redhat.com/show_bug.cgi?id=835848
src/core/mount.c