]> err.no Git - linux-2.6/commit
[PATCH] knfsd: register all RPC programs with portmapper by default
authorOlaf Kirch <okir@suse.de>
Wed, 4 Oct 2006 09:16:05 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:19 +0000 (07:55 -0700)
commitbc5fea4299b8bda5f73c6f79dc35d388caf8bced
treee8822bdad94634e896690a285e1e26b54a0f09d5
parent0ade060ee51b9b6cf18d580405dc9ab90067f69f
[PATCH] knfsd: register all RPC programs with portmapper by default

The NFSACL patches introduced support for multiple RPC services listening on
the same transport.  However, only the first of these services was registered
with portmapper.  This was perfectly fine for nfsacl, as you traditionally do
not want these to show up in a portmapper listing.

The patch below changes the default behavior to always register all services
listening on a given transport, but retains the old behavior for nfsacl
services.

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c