if (uc->uc_valid != UCRED_INIT) {
uc->uc_suppgids[0] = uc->uc_suppgids[1] = -1;
if (uc->uc_ginfo) {
- cfs_put_group_info(uc->uc_ginfo);
+ put_group_info(uc->uc_ginfo);
uc->uc_ginfo = NULL;
}
if (uc->uc_identity) {
if (!remote && perm & CFS_SETGRP_PERM) {
if (pud->pud_ngroups) {
/* setgroups for local client */
- ucred->uc_ginfo = cfs_groups_alloc(pud->pud_ngroups);
+ ucred->uc_ginfo = groups_alloc(pud->pud_ngroups);
if (!ucred->uc_ginfo) {
CERROR("failed to alloc %d groups\n",
pud->pud_ngroups);
out:
if (rc) {
if (ucred->uc_ginfo) {
- cfs_put_group_info(ucred->uc_ginfo);
+ put_group_info(ucred->uc_ginfo);
ucred->uc_ginfo = NULL;
}
if (ucred->uc_identity) {