OSDN Git Service

vold: Fix fsck on public volumes
authorMichael Bestas <mikeioannina@gmail.com>
Sun, 6 Dec 2015 21:53:55 +0000 (23:53 +0200)
committerAdrian DC <radian.dc@gmail.com>
Thu, 24 Aug 2017 14:26:52 +0000 (16:26 +0200)
commit52db86f9ef90756eee50bdb3998d009d12547bd3
treeb45cdeb6db8867a364361700983dacf139dcd2c1
parentccfbe12f7ef59a7d290864a02bc53b33ee86764c
vold: Fix fsck on public volumes

* Fsck was hitting a neverallow on public volumes not formatted in vfat
  because it was always using the trusted context
* Always run trusted fsck for private volumes and untrusted for public
* Exfat/ntfs are always untrusted, because they are not supported for
  private volumes, like vfat

Change-Id: I0a6ee9aea907bae9ed097b920df0559df7b45d7d
PrivateVolume.cpp
PublicVolume.cpp
fs/Exfat.cpp
fs/Ext4.cpp
fs/Ext4.h
fs/F2fs.cpp
fs/F2fs.h
fs/Ntfs.cpp