summaryrefslogtreecommitdiffstats
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-04 02:15:44 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-04 07:55:15 -0700
commit37a034729ae611295bbb8e925333d4d54d7c1ebc (patch)
tree219882844fd21fc65eb8673677e7d37a1ff463a2 /mm/mempool.c
parent7ed94296a660a61989b5d54f0c4bb804f30567d3 (diff)
downloadkernel-crypto-37a034729ae611295bbb8e925333d4d54d7c1ebc.tar.gz
kernel-crypto-37a034729ae611295bbb8e925333d4d54d7c1ebc.tar.xz
kernel-crypto-37a034729ae611295bbb8e925333d4d54d7c1ebc.zip
[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>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions