diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-07-01 00:45:30 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-09-29 23:56:56 +0200 |
commit | e851db5b05408b89b9a9429a66814b79fabee2a1 (patch) | |
tree | 99bac979ed90efed99c89a49cb77719ab4c0a229 /fs/nfsd | |
parent | Linux 2.6.27-rc7 (diff) | |
download | linux-e851db5b05408b89b9a9429a66814b79fabee2a1.tar.xz linux-e851db5b05408b89b9a9429a66814b79fabee2a1.zip |
SUNRPC: Add address family field to svc_serv data structure
Introduce and initialize an address family field in the svc_serv structure.
This field will determine what family to use for the service's listener
sockets and what families are advertised via the local rpcbind daemon.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfssvc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 80292ff5e924..7f3d76a7839d 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c @@ -229,6 +229,7 @@ int nfsd_create_serv(void) atomic_set(&nfsd_busy, 0); nfsd_serv = svc_create_pooled(&nfsd_program, nfsd_max_blksize, + AF_INET, nfsd_last_thread, nfsd, THIS_MODULE); if (nfsd_serv == NULL) err = -ENOMEM; |