aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r--fs/nfs/callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index 4c8459e5bdee..51297b2d0532 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -301,7 +301,7 @@ out_err:
301/* 301/*
302 * Kill the callback thread if it's no longer being used. 302 * Kill the callback thread if it's no longer being used.
303 */ 303 */
304void nfs_callback_down(int minorversion) 304void nfs_callback_down(int minorversion, struct net *net)
305{ 305{
306 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; 306 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion];
307 307
@@ -309,7 +309,7 @@ void nfs_callback_down(int minorversion)
309 cb_info->users--; 309 cb_info->users--;
310 if (cb_info->users == 0 && cb_info->task != NULL) { 310 if (cb_info->users == 0 && cb_info->task != NULL) {
311 kthread_stop(cb_info->task); 311 kthread_stop(cb_info->task);
312 svc_shutdown_net(cb_info->serv, &init_net); 312 svc_shutdown_net(cb_info->serv, net);
313 svc_exit_thread(cb_info->rqst); 313 svc_exit_thread(cb_info->rqst);
314 cb_info->serv = NULL; 314 cb_info->serv = NULL;
315 cb_info->rqst = NULL; 315 cb_info->rqst = NULL;