kernel-ark/net/sunrpc
NeilBrown 37a034729a [PATCH] knfsd: call lockd_down when closing a socket via a write to nfsd/portlist
The refcount that nfsd holds on lockd is based on the number of open sockets.
So when we close a socket, we should decrement the ref (with lockd_down).

Currently when a socket is closed via writing to the portlist file, that
doesn't happen.

So: make sure we get an error return if the socket that was requested does is
not found, and call lockd_down if it was.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 07:55:15 -07:00
..
auth_gss fix file specification in comments 2006-10-03 23:01:26 +02:00
auth_null.c
auth_unix.c
auth.c
cache.c
clnt.c [PATCH] namespaces: utsname: switch to using uts namespaces 2006-10-02 07:57:21 -07:00
Makefile
pmap_clnt.c
rpc_pipe.c
sched.c
socklib.c
stats.c
sunrpc_syms.c [PATCH] knfsd: add svc_set_num_threads 2006-10-02 07:57:19 -07:00
svc.c [PATCH] knfsd: make rpc threads pools numa aware 2006-10-02 07:57:20 -07:00
svcauth_unix.c
svcauth.c
svcsock.c [PATCH] knfsd: call lockd_down when closing a socket via a write to nfsd/portlist 2006-10-04 07:55:15 -07:00
sysctl.c
timer.c
xdr.c
xprt.c
xprtsock.c