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:
5a7e959
)
umount: MS_MGC_VAL is so 90s
author
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Aug 2012 14:30:10 +0000
(16:30 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Aug 2012 14:30:10 +0000
(16:30 +0200)
src/core/umount.c
patch
|
blob
|
history
diff --git
a/src/core/umount.c
b/src/core/umount.c
index a5a215b2b55847aff7d6870ea9fa96b868169c45..b9afac7ed5b368392dd68df4d841cdf56992984e 100644
(file)
--- a/
src/core/umount.c
+++ b/
src/core/umount.c
@@
-440,7
+440,7
@@
static int mount_points_list_remount_read_only(MountPoint **head, bool *changed)
LIST_FOREACH_SAFE(mount_point, m, n, *head) {
/* Trying to remount read-only */
- if (mount(NULL, m->path, NULL, MS_
MGC_VAL|MS_
REMOUNT|MS_RDONLY, NULL) == 0) {
+ if (mount(NULL, m->path, NULL, MS_REMOUNT|MS_RDONLY, NULL) == 0) {
if (changed)
*changed = true;