Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9b7e917 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
parent 2e928e48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;