ANDROID: sdcardfs: Don't use OVERRIDE_CRED macro
authorDaniel Rosenberg <drosen@google.com>
Fri, 20 Jul 2018 01:08:35 +0000 (18:08 -0700)
committerDanny Wood <danwood76@gmail.com>
Fri, 8 Nov 2019 12:04:02 +0000 (12:04 +0000)
commit5a0e9045fd8e5ae68f335b750d4b362cbbb7413c
tree254fdaf252b06f88fe2690ec72823dd8385f2a99
parentf00bfeeae0b753206e9028d7b44d8af80f5bcd9c
ANDROID: sdcardfs: Don't use OVERRIDE_CRED macro

The macro hides some control flow, making it easier
to run into bugs.

bug: 111642636

Change-Id: I37ec207c277d97c4e7f1e8381bc9ae743ad78435
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
fs/sdcardfs/file.c
fs/sdcardfs/inode.c
fs/sdcardfs/lookup.c
fs/sdcardfs/sdcardfs.h