diff options
author | Tom Marshall <tdm@cyngn.com> | 2015-11-25 13:49:40 -0800 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2015-11-25 13:49:40 -0800 |
commit | 95c29db4495550c962a449f1ef7d6ad75998635c (patch) | |
tree | 920452f8cbe26bf853b77be89a53067552e5dd3b | |
parent | 53b98cfc1f840eb0fefc0cd59d3b6a1fe1722ff4 (diff) | |
download | android_system_vold-95c29db4495550c962a449f1ef7d6ad75998635c.tar.gz android_system_vold-95c29db4495550c962a449f1ef7d6ad75998635c.tar.bz2 android_system_vold-95c29db4495550c962a449f1ef7d6ad75998635c.zip |
Don't try to unmount ASEC and FUSE paths in recovery
Change-Id: Ia693dffeb2865e9849b1c237b619777f61beca2f
-rw-r--r-- | PublicVolume.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PublicVolume.cpp b/PublicVolume.cpp index 065dd0b..924cdd2 100644 --- a/PublicVolume.cpp +++ b/PublicVolume.cpp @@ -251,11 +251,14 @@ status_t PublicVolume::doUnmount(bool detach /* = false */) { mFusePid = 0; } +#ifndef MINIVOLD ForceUnmount(kAsecPath); ForceUnmount(mFuseDefault); ForceUnmount(mFuseRead); ForceUnmount(mFuseWrite); +#endif + ForceUnmount(mRawPath, detach); rmdir(mFuseDefault.c_str()); |