[systemd-commits] src/umount.c

Lennart Poettering lennart at kemper.freedesktop.org
Thu Oct 7 11:47:32 PDT 2010


 src/umount.c |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 83d8b7c1798ac66212ed34bc823df86515df9867
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Oct 7 20:47:26 2010 +0200

    shutdown: drop last referral to mp->read_only

diff --git a/src/umount.c b/src/umount.c
index cdc42ed..468eb71 100644
--- a/src/umount.c
+++ b/src/umount.c
@@ -300,9 +300,6 @@ static int mount_points_list_remount_read_only(MountPoint **mount_point_list_hea
         int failed = 0;
 
         LIST_FOREACH_SAFE(mount_point, mp, mp_next, *mount_point_list_head) {
-                if (mp->read_only)
-                        continue;
-
                 /* Trying to remount read-only */
                 if (mount(NULL, mp->path, NULL, MS_MGC_VAL|MS_REMOUNT|MS_RDONLY, NULL) == 0)
                         mount_point_remove_and_free(mp, mount_point_list_head);


More information about the systemd-commits mailing list