chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3bf3cd9
)
core: fix getting information about mount unit
author
Michal Sekletar
<msekleta@redhat.com>
Fri, 8 Mar 2013 14:13:43 +0000
(15:13 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 12 Mar 2013 16:22:11 +0000
(17:22 +0100)
We should not try to get information about mount unit from fragment
if the unit was created because of /proc/self/mountinfo event.
src/core/mount.c
patch
|
blob
|
history
diff --git
a/src/core/mount.c
b/src/core/mount.c
index 419cf27a889ea884b062b912e121ff4f5d53793e..895aa2537181cb4edda30b5c669405dfd7d3e4a6 100644
(file)
--- 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;
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;
if (!p)
return 0;