nfs: set vs_hidden on nfs4_callback_version4 (try #2)
authorJeff Layton <jlayton@redhat.com>
Fri, 4 Nov 2011 11:04:10 +0000 (07:04 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Nov 2011 13:00:09 +0000 (09:00 -0400)
This service should not be registered with or unregistered from rpcbind.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_xdr.c

index ee1a5b3cd48d88eae23bddc4b5d8b175c42e71a5..726e59a9e50f6ad20471895793efdb171aed7dd7 100644 (file)
@@ -987,4 +987,5 @@ struct svc_version nfs4_callback_version4 = {
        .vs_proc = nfs4_callback_procedures1,
        .vs_xdrsize = NFS4_CALLBACK_XDRSIZE,
        .vs_dispatch = NULL,
+       .vs_hidden = 1,
 };