diff options
author | Steve Dickson <SteveD@redhat.com> | 2009-10-13 16:07:33 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-03-08 14:56:42 -0500 |
commit | 49697ee79242d5f8ac88f1ebc62e583d16bcc687 (patch) | |
tree | 9b607ce2c3c6a4d874f201b534b13038983af28e /fs/nfs/callback_xdr.c | |
parent | 7dd08a570dcf45d52155996fee688405635ee481 (diff) | |
download | lwn-49697ee79242d5f8ac88f1ebc62e583d16bcc687.tar.gz lwn-49697ee79242d5f8ac88f1ebc62e583d16bcc687.zip |
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>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
-rw-r--r-- | fs/nfs/callback_xdr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index db30c0b398b5..a2b8b4df125d 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c @@ -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 = { |