summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-13 16:30:10 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-13 16:30:10 +0200
commit8caf9d6836c3ed5b7bb4c1ea8dea5241a634c298 (patch)
tree0c59754e24b82f4fb3988be603f3a23d3596f253
parent5a7e959984788cf89719dec31999409b63bb802b (diff)
umount: MS_MGC_VAL is so 90s
-rw-r--r--src/core/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/umount.c b/src/core/umount.c
index a5a215b2b5..b9afac7ed5 100644
--- 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;