diff options
| author | Steve Dickson <[email protected]> | 2009-10-13 16:07:33 -0400 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2010-03-08 14:56:42 -0500 |
| commit | 49697ee79242d5f8ac88f1ebc62e583d16bcc687 (patch) | |
| tree | 9b607ce2c3c6a4d874f201b534b13038983af28e | |
| parent | 7dd08a570dcf45d52155996fee688405635ee481 (diff) | |
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 <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
| -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 = { |