From 7dbb188309c3e49d03f3cc123417b010dc0c81da Mon Sep 17 00:00:00 2001 From: rmacklem Date: Sat, 20 Jun 2009 17:11:07 +0000 Subject: Replace RPCAUTH_UNIXGIDS with NFS_MAXGRPS so that nfscbd.c will build. Approved by: kib (mentor) --- sys/fs/nfs/nfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs/nfs/nfs.h') diff --git a/sys/fs/nfs/nfs.h b/sys/fs/nfs/nfs.h index d02c754..0325d3d 100644 --- a/sys/fs/nfs/nfs.h +++ b/sys/fs/nfs/nfs.h @@ -405,12 +405,12 @@ typedef struct { /* * Store uid, gid creds that were used when the stateid was acquired. - * The RPC layer allows RPCAUTH_UNIXGIDS + 1 groups to go out on the wire, + * The RPC layer allows NFS_MAXGRPS + 1 groups to go out on the wire, * so that's how many gets stored here. */ struct nfscred { uid_t nfsc_uid; - gid_t nfsc_groups[RPCAUTH_UNIXGIDS + 1]; + gid_t nfsc_groups[NFS_MAXGRPS + 1]; int nfsc_ngroups; }; -- cgit v1.1