summaryrefslogtreecommitdiffstats
path: root/fs_mgr/fs_mgr.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-12-03 19:07:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-12-03 19:07:45 +0000
commit5d595da5164422377953f3f140d47d10d4b3128c (patch)
tree618fe0cd5f9f395a2f00907c6b0ab50c6f771fb2 /fs_mgr/fs_mgr.cpp
parent9cb7704ab4c62aa0a60420e4e6f75eddd9a8c3dc (diff)
parent7a66be1a54716448e07f57024eac521dccb28c9e (diff)
downloadsystem_core-5d595da5164422377953f3f140d47d10d4b3128c.tar.gz
system_core-5d595da5164422377953f3f140d47d10d4b3128c.tar.bz2
system_core-5d595da5164422377953f3f140d47d10d4b3128c.zip
Merge "fs_mgr fix flags/fs_mgr_flags mismatch"
Diffstat (limited to 'fs_mgr/fs_mgr.cpp')
-rw-r--r--fs_mgr/fs_mgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp
index 93c33bb87..6f863ad9e 100644
--- a/fs_mgr/fs_mgr.cpp
+++ b/fs_mgr/fs_mgr.cpp
@@ -1047,7 +1047,7 @@ int fs_mgr_mount_all(fstab* fstab, int mount_mode) {
/* Skip mounting the root partition, as it will already have been mounted */
if (!strcmp(fstab->recs[i].mount_point, "/") ||
!strcmp(fstab->recs[i].mount_point, "/system")) {
- if ((fstab->recs[i].fs_mgr_flags & MS_RDONLY) != 0) {
+ if ((fstab->recs[i].flags & MS_RDONLY) != 0) {
fs_mgr_set_blk_ro(fstab->recs[i].blk_device);
}
continue;