summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2013-12-31 09:17:20 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-01-04 03:18:49 +0400
commit7e55b59b2f32afc83452ae250dfd6173c9a7b515 (patch)
treef8bbb3a9c80f4e29520f077b6962a287a1a46824 /fs/nfsd/netns.h
parent8a891633b832874e2a1545abbddfd33ba22eb016 (diff)
downloadlinux-7e55b59b2f32afc83452ae250dfd6173c9a7b515.tar.xz
SUNRPC/NFSD: Support a new option for ignoring the result of svc_register
NFSv4 clients can contact port 2049 directly instead of needing the portmapper. Therefore a failure to register to the portmapper when starting an NFSv4-only server isn't really a problem. But Gareth Williams reports that an attempt to start an NFSv4-only server without starting portmap fails: #rpc.nfsd -N 2 -N 3 rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) rpc.nfsd: unable to set any sockets for nfsd Add a flag to svc_version to tell the rpc layer it can safely ignore an rpcbind failure in the NFSv4-only case. Reported-by: Gareth Williams <gareth@garethwilliams.me.uk> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
0 files changed, 0 insertions, 0 deletions