summaryrefslogtreecommitdiff
path: root/src/core/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/umount.c')
-rw-r--r--src/core/umount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/umount.c b/src/core/umount.c
index f4a977f5bb..726c4dc170 100644
--- a/src/core/umount.c
+++ b/src/core/umount.c
@@ -147,6 +147,8 @@ static int mount_points_list_get(MountPoint **head) {
* hang because of the network being down. */
m->try_remount_ro = detect_container() <= 0 &&
!fstype_is_network(type) &&
+ !fstype_is_api_vfs(type) &&
+ !fstype_is_ro(type) &&
!fstab_test_yes_no_option(options, "ro\0rw\0");
if (m->try_remount_ro) {