pid namespaces: round up the API
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / autofs / inode.c
index e7204d71acc94660f4a50a3d2c10eb2a6a816e63..45f5992a0957173bc0c7e744028ef40e5743aa8e 100644 (file)
@@ -80,7 +80,7 @@ static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid,
 
        *uid = current->uid;
        *gid = current->gid;
-       *pgrp = process_group(current);
+       *pgrp = task_pgrp_nr(current);
 
        *minproto = *maxproto = AUTOFS_PROTO_VERSION;