nfs41: Initialize new rpc_xprt callback related fields
Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
This commit is contained in:
parent
56632b5bff
commit
f9acac1a47
1 changed files with 5 additions and 0 deletions
|
@ -1049,6 +1049,11 @@ found:
|
||||||
|
|
||||||
INIT_LIST_HEAD(&xprt->free);
|
INIT_LIST_HEAD(&xprt->free);
|
||||||
INIT_LIST_HEAD(&xprt->recv);
|
INIT_LIST_HEAD(&xprt->recv);
|
||||||
|
#if defined(CONFIG_NFS_V4_1)
|
||||||
|
spin_lock_init(&xprt->bc_pa_lock);
|
||||||
|
INIT_LIST_HEAD(&xprt->bc_pa_list);
|
||||||
|
#endif /* CONFIG_NFS_V4_1 */
|
||||||
|
|
||||||
INIT_WORK(&xprt->task_cleanup, xprt_autoclose);
|
INIT_WORK(&xprt->task_cleanup, xprt_autoclose);
|
||||||
setup_timer(&xprt->timer, xprt_init_autodisconnect,
|
setup_timer(&xprt->timer, xprt_init_autodisconnect,
|
||||||
(unsigned long)xprt);
|
(unsigned long)xprt);
|
||||||
|
|
Reference in a new issue