CRED: Wrap task credential accesses in the AFFS filesystem
[pandora-kernel.git] / fs / affs / super.c
index 8989c93..a19d64b 100644 (file)
@@ -163,8 +163,8 @@ parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, s
 
        /* Fill in defaults */
 
-       *uid        = current->uid;
-       *gid        = current->gid;
+       *uid        = current_uid();
+       *gid        = current_gid();
        *reserved   = 2;
        *root       = -1;
        *blocksize  = -1;