* allocated. */
atomic_set(&cr.cr_ref, 1);
afs_set_cr_uid(&cr, task_uid(pr));
-#if defined(AFS_LINUX26_ENV)
#if defined(STRUCT_TASK_STRUCT_HAS_CRED)
get_group_info(pr->cred->group_info);
afs_set_cr_group_info(&cr, pr->cred->group_info);
get_group_info(pr->group_info);
afs_set_cr_group_info(&cr, pr->group_info);
#endif
-#else
- cr.cr_ngroups = pr->ngroups;
- memcpy(cr.cr_groups, pr->groups, NGROUPS * sizeof(gid_t));
-#endif
rv = &cr;
}