am fc85a7a8: Merge "libcutils: fix rw FS remount check issue"
* commit 'fc85a7a848aa3e308b7b6d890e9f8e1476ba9ba7': libcutils: fix rw FS remount check issue
This commit is contained in:
commit
676f7d509d
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ static int remount_ro_done(void)
|
|||
mount_dir[255] = 0;
|
||||
mount_type[255] = 0;
|
||||
mount_opts[255] = 0;
|
||||
if ((match == 6) && !strncmp(mount_dev, "/dev/block", 10) && strstr(mount_opts, "rw")) {
|
||||
if ((match == 6) && !strncmp(mount_dev, "/dev/block", 10) && strstr(mount_opts, "rw,")) {
|
||||
found_rw_fs = 1;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue