mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
SUNRPC: Initialise struct svc_serv backchannel fields during __svc_create()
Clean up. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
f4b52bb084
commit
d002526886
2 changed files with 17 additions and 3 deletions
|
@ -147,9 +147,6 @@ nfs41_callback_up(struct svc_serv *serv)
|
|||
{
|
||||
struct svc_rqst *rqstp;
|
||||
|
||||
INIT_LIST_HEAD(&serv->sv_cb_list);
|
||||
spin_lock_init(&serv->sv_cb_lock);
|
||||
init_waitqueue_head(&serv->sv_cb_waitq);
|
||||
rqstp = svc_prepare_thread(serv, &serv->sv_pools[0], NUMA_NO_NODE);
|
||||
dprintk("--> %s return %d\n", __func__, PTR_ERR_OR_ZERO(rqstp));
|
||||
return rqstp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue