OSDN Git Service

Set quota project ID and inheritance on top-level storage directory.
authorMartijn Coenen <maco@google.com>
Tue, 11 Feb 2020 13:20:29 +0000 (14:20 +0100)
committerMartijn Coenen <maco@google.com>
Wed, 12 Feb 2020 12:18:46 +0000 (13:18 +0100)
commitfd9cdbf124cba760f4df0b0977b454048f207e0a
treee13b279f411c5f8c97ea4182ac6dfd12550ed6dd
parent879fa8015df7092aa8b231fc8a7640b045b44bb5
Set quota project ID and inheritance on top-level storage directory.

When creating external storage directories like /data/media/0, make sure
we set the quota project ID correctly, and enable project ID
inheritance. This ensures that all directories/files under this will be
created with the correct project ID and inheritance as well.

Bug: 146419093
Test: lsattr -p on /data/media
Change-Id: I32bfced0d67eb8c1865897b085324f00c55926a0
FsCrypt.cpp