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
..
2006-10-03 23:01:26 +02:00
2006-10-03 22:36:44 +02:00
2006-10-03 23:28:36 +02:00
2006-10-03 23:01:26 +02:00
2006-10-02 09:55:27 -05:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:37:55 +02:00
2006-01-11 18:42:13 -08:00
2006-01-08 20:12:40 -08:00
2006-10-02 07:57:15 -07:00
2006-04-11 13:53:33 +02:00
2006-10-02 07:57:14 -07:00
2006-10-03 22:36:44 +02:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:33 -07:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2006-10-01 00:39:19 -07:00
2006-03-23 07:38:11 -08:00
2006-10-01 00:39:29 -07:00
2006-03-23 07:38:12 -08:00
2006-10-01 00:39:19 -07:00