]> git.baikalelectronics.ru Git - kernel.git/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)
commit16a21167f937fe011fbe68ebf437634105a40ff6
treee8822bdad94634e896690a285e1e26b54a0f09d5
parent7ffa1da937e467ba064b07bb3ba00a4e3ab580e5
[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