aboutsummaryrefslogtreecommitdiffstats
path: root/fuse/main.c
diff options
context:
space:
mode:
authorresver <resver@60bc1c72-a15a-11de-b98f-4500b42dc123>2012-12-04 18:34:01 +0000
committerresver <resver@60bc1c72-a15a-11de-b98f-4500b42dc123>2012-12-04 18:34:01 +0000
commit8b0faa8867a1c674416333e29e6d6050af232f13 (patch)
tree95f5fa9b7016451ecdba1c82d73a00f5caa62bbf /fuse/main.c
parent78aa7890e01f0fb3e6b2a1776bcaa7019a36d410 (diff)
downloadandroid_external_exfat-8b0faa8867a1c674416333e29e6d6050af232f13.tar.gz
android_external_exfat-8b0faa8867a1c674416333e29e6d6050af232f13.tar.bz2
android_external_exfat-8b0faa8867a1c674416333e29e6d6050af232f13.zip
Refactored device access mode handling.
git-svn-id: http://exfat.googlecode.com/svn/trunk@299 60bc1c72-a15a-11de-b98f-4500b42dc123
Diffstat (limited to 'fuse/main.c')
-rw-r--r--fuse/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuse/main.c b/fuse/main.c
index 84db40d..19f1816 100644
--- a/fuse/main.c
+++ b/fuse/main.c
@@ -439,7 +439,7 @@ int main(int argc, char* argv[])
return 1;
}
- if (ef.ro_fallback)
+ if (ef.ro == -1) /* read-only fallback was used */
{
mount_options = add_option(mount_options, "ro", NULL);
if (mount_options == NULL)