moved getdomainname into start of nfsd

acquire machine's domain name at the start of nfsd and store
in global memory, make is accessible for acl operations.
This commit is contained in:
Olga Kornievskaia 2011-12-19 19:37:35 -05:00
parent 8e64984183
commit 4be25baaee
4 changed files with 126 additions and 126 deletions

View file

@ -199,8 +199,6 @@ typedef struct __nfs41_client {
/* for state recovery on server reboot */
struct client_state state;
/* for ACLs default domain name */
char domain_name[NFS41_HOSTNAME_LEN];
} nfs41_client;
#define NFS41_MAX_NUM_SLOTS NFS41_MAX_RPC_REQS