[PATCH] knfsd: allow sockets to be passed to nfsd via 'portlist'
authorNeilBrown <neilb@suse.de>
Mon, 2 Oct 2006 09:17:48 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:18 +0000 (07:57 -0700)
commitb41b66d63c730cc45a1024e1f1e67439e507e40f
tree85f623c087a90ccf08a8264c638df5504f972c0d
parent80212d59e32a8a8e030c2ddc5861d8ff70542c56
[PATCH] knfsd: allow sockets to be passed to nfsd via 'portlist'

Userspace should create and bind a socket (but not connectted) and write the
'fd' to portlist.  This will cause the nfs server to listen on that socket.

To close a socket, the name of the socket - as read from 'portlist' can be
written to 'portlist' with a preceding '-'.

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/nfsctl.c
fs/nfsd/nfssvc.c
include/linux/nfsd/nfsd.h
include/linux/sunrpc/svcsock.h
net/sunrpc/svcsock.c