diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 6b424407d631..ccb455053ee4 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -130,7 +130,6 @@ static struct nfs_client *nfs_alloc_client(const char *hostname, | |||
130 | #ifdef CONFIG_NFS_V4 | 130 | #ifdef CONFIG_NFS_V4 |
131 | init_rwsem(&clp->cl_sem); | 131 | init_rwsem(&clp->cl_sem); |
132 | INIT_LIST_HEAD(&clp->cl_delegations); | 132 | INIT_LIST_HEAD(&clp->cl_delegations); |
133 | INIT_LIST_HEAD(&clp->cl_state_owners); | ||
134 | spin_lock_init(&clp->cl_lock); | 133 | spin_lock_init(&clp->cl_lock); |
135 | INIT_DELAYED_WORK(&clp->cl_renewd, nfs4_renew_state); | 134 | INIT_DELAYED_WORK(&clp->cl_renewd, nfs4_renew_state); |
136 | rpc_init_wait_queue(&clp->cl_rpcwaitq, "NFS client"); | 135 | rpc_init_wait_queue(&clp->cl_rpcwaitq, "NFS client"); |
@@ -154,7 +153,7 @@ static void nfs4_shutdown_client(struct nfs_client *clp) | |||
154 | #ifdef CONFIG_NFS_V4 | 153 | #ifdef CONFIG_NFS_V4 |
155 | if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state)) | 154 | if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state)) |
156 | nfs4_kill_renewd(clp); | 155 | nfs4_kill_renewd(clp); |
157 | BUG_ON(!list_empty(&clp->cl_state_owners)); | 156 | BUG_ON(!RB_EMPTY_ROOT(&clp->cl_state_owners)); |
158 | if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state)) | 157 | if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state)) |
159 | nfs_idmap_delete(clp); | 158 | nfs_idmap_delete(clp); |
160 | #endif | 159 | #endif |