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:
ba5beeb
)
mount: do not implicitly pull in fsck service for root dir
author
Lennart Poettering
<lennart@poettering.net>
Wed, 20 Oct 2010 12:26:46 +0000
(14:26 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 20 Oct 2010 12:26:46 +0000
(14:26 +0200)
src/mount.c
patch
|
blob
|
history
diff --git
a/src/mount.c
b/src/mount.c
index 53edf9d560ea48834eda89a0cdbcbd0eb50ed44b..5aa51dec5399352c69fd1867305882ffcce6d4f5 100644
(file)
--- a/
src/mount.c
+++ b/
src/mount.c
@@
-360,7
+360,8
@@
static int mount_add_device_links(Mount *m) {
}
if (p->passno > 0 &&
}
if (p->passno > 0 &&
- UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM) {
+ UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
+ !path_equal(m->where, "/")) {
char *name;
Unit *fsck;
/* Let's add in the fsck service */
char *name;
Unit *fsck;
/* Let's add in the fsck service */