1
0
Fork 0

nfs4: Make the v4 callback service hidden

To avoid hangs in the svc_unregister(), on version 4 mounts
(and unmounts), when rpcbind is not running, make the nfs4 callback
program an 'hidden' service by setting the 'vs_hidden' flag in the
nfs4_callback_version structure.

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
wifi-calibration
Steve Dickson 2009-10-13 16:07:33 -04:00 committed by Trond Myklebust
parent 7dd08a570d
commit 49697ee792
1 changed files with 1 additions and 0 deletions

View File

@ -782,6 +782,7 @@ struct svc_version nfs4_callback_version1 = {
.vs_proc = nfs4_callback_procedures1,
.vs_xdrsize = NFS4_CALLBACK_XDRSIZE,
.vs_dispatch = NULL,
.vs_hidden = 1,
};
struct svc_version nfs4_callback_version4 = {