ANDROID: sdcardfs: Use tabs instead of spaces in multiuser.h
authorDaniel Rosenberg <drosen@google.com>
Mon, 13 Mar 2017 20:53:54 +0000 (13:53 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Apr 2017 07:42:16 +0000 (13:12 +0530)
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: Ic7801914a7dd377e270647f81070020e1f0bab9b

fs/sdcardfs/multiuser.h

index 52bc2008090450e236ab1c63748b255a4a2bb60d..ca141ff40b4914acda36bda27c1ab26a348ce50a 100644 (file)
@@ -29,21 +29,21 @@ typedef uid_t userid_t;
 typedef uid_t appid_t;
 
 static inline uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) {
-    return (user_id * AID_USER_OFFSET) + (app_id % AID_USER_OFFSET);
+       return (user_id * AID_USER_OFFSET) + (app_id % AID_USER_OFFSET);
 }
 
 static inline gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) {
-    if (app_id >= AID_APP_START && app_id <= AID_APP_END) {
-        return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_CACHE_GID_START);
-    } else {
-        return -1;
-    }
+       if (app_id >= AID_APP_START && app_id <= AID_APP_END) {
+               return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_CACHE_GID_START);
+       } else {
+               return -1;
+       }
 }
 
 static inline gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) {
-    if (app_id >= AID_APP_START && app_id <= AID_APP_END) {
-        return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_EXT_GID_START);
-    } else {
-        return -1;
-    }
+       if (app_id >= AID_APP_START && app_id <= AID_APP_END) {
+               return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_EXT_GID_START);
+       } else {
+               return -1;
+       }
 }