summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorNeilBrown2006-10-02 11:17:44 +0200
committerLinus Torvalds2006-10-02 16:57:17 +0200
commitbc591ccff27e6a85d3a0d6fcb16cfadcc45267a8 (patch)
tree20692a805b32ce5541f7175192f8ab81975434ec /fs/nfs/callback.c
parent[PATCH] knfsd: remove an unused variable from auth_unix_lookup() (diff)
downloadkernel-qcow2-linux-bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8.tar.gz
kernel-qcow2-linux-bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8.tar.xz
kernel-qcow2-linux-bc591ccff27e6a85d3a0d6fcb16cfadcc45267a8.zip
[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/nfs/callback.c')
-rw-r--r--fs/nfs/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index a3ee11364db0..e244cdc7afab 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -116,7 +116,7 @@ int nfs_callback_up(void)
goto out;
init_completion(&nfs_callback_info.started);
init_completion(&nfs_callback_info.stopped);
- serv = svc_create(&nfs4_callback_program, NFS4_CALLBACK_BUFSIZE);
+ serv = svc_create(&nfs4_callback_program, NFS4_CALLBACK_BUFSIZE, NULL);
ret = -ENOMEM;
if (!serv)
goto out_err;