nfsd: register NFS_ACL with rpcbind
authorPeter Staubach <staubach@redhat.com>
Mon, 2 Nov 2009 21:59:07 +0000 (16:59 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 4 Nov 2009 18:46:37 +0000 (13:46 -0500)
commit1b7e0403c6a72d18bebd4f2a6858b6c69c4bd428
tree94ef83aeae87abc76464b58e439642c5bcd79050
parentaba24d71580180dfdf6a1a83a5858a1c048fd785
nfsd: register NFS_ACL with rpcbind

Modify the NFS server to register the NFS_ACL services with the rpcbind
daemon.  This allows the client to ping for the existence of the NFS_ACL
support via commands such as "rpcinfo -t <server> nfs_acl".

This patch also modifies the NFS_ACL support so that responses to
version 2 NULLPROC requests can be made.

The changelog for the patch which turned off this functionality
mentioned something about not registering the NFS_ACL as being part of
some tradition.  I can't find this tradition and the only other
implementation which supports NFS_ACL does register them with the
rpcbind daemon.

Signed-off-by: Peter Staubach <staubach@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c