ANDROID: sdcardfs: Fix gid issue
authorDaniel Rosenberg <drosen@google.com>
Mon, 13 Mar 2017 22:34:03 +0000 (15:34 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:31 +0000 (18:03 +0200)
commit7685601388218a27cfb937335cab709f3da282f5
treef5cb89fb510a0ebff0e4ad7c5db5c7dbf9d929f9
parentcdd083aa846e3596a82456ad0214de5745f109b9
ANDROID: sdcardfs: Fix gid issue

We were already calculating most of these values,
and erroring out because the check was confused by this.
Instead of recalculating, adjust it as needed.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 36160015
Change-Id: I9caf3e2fd32ca2e37ff8ed71b1d392f1761bc9a9
fs/sdcardfs/derived_perm.c
fs/sdcardfs/multiuser.h