>From Jeff Layton <jlay...@redhat.com>:

Jeff Layton has uploaded this change for review. ( 
https://review.gerrithub.io/407785


Change subject: nfsd: handle rpcbind registration errors more gracefully
......................................................................

nfsd: handle rpcbind registration errors more gracefully

Registering with portmapper/rpcbind is optional for v4 servers. Failure
to do so should not be a fatal error.

Change the code to return a boolean (false when registration fails), and
fix up the caller to ignore v4 registration errors.

Note that there is also another behavior change with this patch: do not
register mountd ports unless v3 is enabled. We may need to fix this to
handle v2-only servers as well, but I'm not sure how to detect that
configuration.

Change-Id: I2002660b2cfab3659d6d8daa2fe2a13135510706
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
1 file changed, 32 insertions(+), 13 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/85/407785/1
--
To view, visit https://review.gerrithub.io/407785
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2002660b2cfab3659d6d8daa2fe2a13135510706
Gerrit-Change-Number: 407785
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to