[systemd-commits] src/core
Harald Hoyer
harald at kemper.freedesktop.org
Tue Mar 12 09:22:16 PDT 2013
src/core/mount.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 4d4fe926cb2ad1e624ddaea26f143fa93d867296
Author: Michal Sekletar <msekleta at redhat.com>
Date: Fri Mar 8 15:13:43 2013 +0100
core: fix getting information about mount unit
We should not try to get information about mount unit from fragment
if the unit was created because of /proc/self/mountinfo event.
diff --git a/src/core/mount.c b/src/core/mount.c
index 419cf27..895aa25 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -447,7 +447,8 @@ static int mount_add_default_dependencies(Mount *m) {
if (UNIT(m)->manager->running_as != SYSTEMD_SYSTEM)
return 0;
- p = get_mount_parameters_fragment(m);
+ p = get_mount_parameters(m);
+
if (!p)
return 0;
More information about the systemd-commits
mailing list