diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-29 20:03:49 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-19 13:08:36 -0400 |
commit | d00252688604edfd07d0e11a05d3a2b7cf05bb3d (patch) | |
tree | e82c632ecdf5023ddfe161361ba6e15fed30cb1e /fs/nfs | |
parent | f4b52bb0842642a781a23dd36ae364253e03fdb4 (diff) |
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/callback.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 478bb0a7effe..08e16f9b3333 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
@@ -147,9 +147,6 @@ nfs41_callback_up(struct svc_serv *serv) | |||
147 | { | 147 | { |
148 | struct svc_rqst *rqstp; | 148 | struct svc_rqst *rqstp; |
149 | 149 | ||
150 | INIT_LIST_HEAD(&serv->sv_cb_list); | ||
151 | spin_lock_init(&serv->sv_cb_lock); | ||
152 | init_waitqueue_head(&serv->sv_cb_waitq); | ||
153 | rqstp = svc_prepare_thread(serv, &serv->sv_pools[0], NUMA_NO_NODE); | 150 | rqstp = svc_prepare_thread(serv, &serv->sv_pools[0], NUMA_NO_NODE); |
154 | dprintk("--> %s return %d\n", __func__, PTR_ERR_OR_ZERO(rqstp)); | 151 | dprintk("--> %s return %d\n", __func__, PTR_ERR_OR_ZERO(rqstp)); |
155 | return rqstp; | 152 | return rqstp; |