Merge changes I1572338c,I39965007
* changes:
logd: liblog: logcat: Add LogWhiteBlackList
logd: prune by worst offending UID
diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c
index 0a0a08a..c4f27a0 100644
--- a/fs_mgr/fs_mgr.c
+++ b/fs_mgr/fs_mgr.c
@@ -260,9 +260,9 @@
/* back up errno as partition_wipe clobbers the value */
mount_errno = errno;
-
/* mount(2) returned an error, check if it's encryptable and deal with it */
- if ((fstab->recs[i].fs_mgr_flags & MF_CRYPT) &&
+ if (mount_errno != EBUSY && mount_errno != EACCES &&
+ (fstab->recs[i].fs_mgr_flags & MF_CRYPT) &&
!partition_wiped(fstab->recs[i].blk_device)) {
/* Need to mount a tmpfs at this mountpoint for now, and set
* properties that vold will query later for decrypting