diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-07 20:47:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-07 20:47:26 +0200 |
commit | 83d8b7c1798ac66212ed34bc823df86515df9867 (patch) | |
tree | 8282b87a2fcd44e6b6e400a234c6e26ffea977ab /src/umount.c | |
parent | 143b4e9b8d6f4dd4b0603f7a1e8335b0c2774a77 (diff) |
shutdown: drop last referral to mp->read_only
Diffstat (limited to 'src/umount.c')
-rw-r--r-- | src/umount.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/umount.c b/src/umount.c index cdc42ed8f1..468eb715d6 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); |