diff options
author | NeilBrown <neilb@suse.de> | 2006-10-02 02:17:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 07:57:17 -0700 |
commit | bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8 (patch) | |
tree | 20692a805b32ce5541f7175192f8ab81975434ec /fs/lockd | |
parent | 40f10522173c34e56cb9bf2fd37c62f69a427f1b (diff) | |
download | kernel_samsung_espresso10-bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8.zip kernel_samsung_espresso10-bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8.tar.gz kernel_samsung_espresso10-bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8.tar.bz2 |
[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>
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 9a991b5..13feba4 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -236,7 +236,7 @@ lockd_up(void) "lockd_up: no pid, %d users??\n", nlmsvc_users); error = -ENOMEM; - serv = svc_create(&nlmsvc_program, LOCKD_BUFSIZE); + serv = svc_create(&nlmsvc_program, LOCKD_BUFSIZE, NULL); if (!serv) { printk(KERN_WARNING "lockd_up: create service failed\n"); goto out; |