]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9be262b9398a12016ea6f601635a7e3d09e61122
tree20692a805b32ce5541f7175192f8ab81975434ec
parentb9b3f69205d4d9e404fcb5e4f59ebefba015ad3d
[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