[PATCH] knfsd: add a callback for when last rpc thread finishes
authorNeilBrown <neilb@suse.de>
Mon, 2 Oct 2006 09:17:44 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:17 +0000 (07:57 -0700)
commitbc591ccff27e6a85d3a0d6fcb16cfadcc45267a8
tree20692a805b32ce5541f7175192f8ab81975434ec
parent40f10522173c34e56cb9bf2fd37c62f69a427f1b
[PATCH] knfsd: add a callback for when last rpc thread finishes

nfsd has some cleanup that it wants to do when the last thread exits, and
there will shortly be some more.  So collect this all into one place and
define a callback for an rpc service to call when the service is about to be
destroyed.

[akpm@osdl.org: cleanups, build fix]
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/lockd/svc.c
fs/nfs/callback.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c