Skip to content
Commit c193c3fb authored by Eric Biggers's avatar Eric Biggers
Browse files

Enforce that internal storage is prepared first

Before doing anything else in fscrypt_prepare_user_storage(), error out
if adoptable storage is being prepared before internal storage.  Without
this explicit check, making this mistake results in a sequence of weird
errors that is hard to trace back to the actual problem.

Bug: 231387956
Change-Id: Ib26cc1bd46ffa2578f6f0156dfacc5496dae3178
(cherry picked from commit c66c2e30)
Merged-In: Ib26cc1bd46ffa2578f6f0156dfacc5496dae3178
parent e07afb81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment