dect
/
linux-2.6
Archived
13
0
Fork 0

NFSv4: Fix the return value for nfs_callback_start_svc

returning PTR_ERR(cb_info->task) just after we have set it to
NULL looks like a typo...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
This commit is contained in:
Trond Myklebust 2012-10-16 12:30:44 -04:00
parent 2e928e4878
commit e9b7e91745
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt,
svc_exit_thread(cb_info->rqst);
cb_info->rqst = NULL;
cb_info->task = NULL;
return PTR_ERR(cb_info->task);
return ret;
}
dprintk("nfs_callback_up: service started\n");
return 0;