OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88891a
)
One more errno for encrypted devices.
author
Jeff Sharkey
<jsharkey@android.com>
Thu, 23 Aug 2012 17:32:20 +0000
(10:32 -0700)
committer
Jeff Sharkey
<jsharkey@android.com>
Thu, 23 Aug 2012 17:32:20 +0000
(10:32 -0700)
Bug:
7017585
Change-Id: I4c2cc95a5c3a44bab4a93f3a1f8907869f0ce8e6
vm/native/dalvik_system_Zygote.cpp
patch
|
blob
|
history
diff --git
a/vm/native/dalvik_system_Zygote.cpp
b/vm/native/dalvik_system_Zygote.cpp
index
8196f2f
..
609de7c
100644
(file)
--- a/
vm/native/dalvik_system_Zygote.cpp
+++ b/
vm/native/dalvik_system_Zygote.cpp
@@
-554,9
+554,9
@@
static pid_t forkAndSpecializeCommon(const u4* args, bool isSystemServer)
err = mountExternalStorage(uid, mountExternal);
if (err < 0) {
ALOGE("cannot mountExternalStorage(): %s", strerror(errno));
- if (errno == ENOTCONN) {
- // Missing FUSE daemon, which is expected
during device
- //
encryption
; let Zygote continue without external storage.
+ if (errno == ENOTCONN
|| errno == EROFS
) {
+ // Missing FUSE daemon, which is expected
when booting encrypted
+ //
devices
; let Zygote continue without external storage.
} else {
dvmAbort();
}