ANDROID: sdcardfs: Fix gid issue
authorDaniel Rosenberg <drosen@google.com>
Mon, 13 Mar 2017 22:34:03 +0000 (15:34 -0700)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:06 +0000 (19:40 -0800)
commitd4299b08940e579fabc100e77ddb6871acfb14f7
tree8b42e5af069989f26bd0e3884ab7f2909d7afd82
parentaa9ea6f45dd8fcd5364cf0781ae1c6fd43d85e39
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