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:
6309077
)
mount: don't create depdency for device node of root fs, since it is always there
author
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Aug 2010 23:51:55 +0000
(
01:51
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Aug 2010 23:51:55 +0000
(
01:51
+0200)
src/mount.c
patch
|
blob
|
history
diff --git
a/src/mount.c
b/src/mount.c
index ac33787e61e42c8307a3386419dcc7056b566a1d..b667ae52c9e00dbdc1f83aa6deaca387c369fb26 100644
(file)
--- a/
src/mount.c
+++ b/
src/mount.c
@@
-361,7
+361,7
@@
static int mount_load(Unit *u) {
else if (m->from_proc_self_mountinfo && m->parameters_proc_self_mountinfo.what)
what = m->parameters_proc_self_mountinfo.what;
- if (what)
+ if (what
&& !path_equal(m->where, "/")
)
if ((r = unit_add_node_link(u, what, u->meta.manager->running_as == MANAGER_SYSTEM)) < 0)
return r;