]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/autofs4/inode.c
CRED: Wrap task credential accesses in the autofs4 filesystem
[linux-2.6-omap-h63xx.git] / fs / autofs4 / inode.c
index c7e65bb30ba02b600e1b51d30e11ce78246ef983..7b19802cfef4b158cee241339c92c8f30ac88dd0 100644 (file)
@@ -235,8 +235,8 @@ static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid,
        substring_t args[MAX_OPT_ARGS];
        int option;
 
-       *uid = current->uid;
-       *gid = current->gid;
+       *uid = current_uid();
+       *gid = current_gid();
        *pgrp = task_pgrp_nr(current);
 
        *minproto = AUTOFS_MIN_PROTO_VERSION;