aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index a4bdf2589b41..b276624be66e 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4002,6 +4002,7 @@ nfs4_state_init(void)
4002 INIT_LIST_HEAD(&conf_str_hashtbl[i]); 4002 INIT_LIST_HEAD(&conf_str_hashtbl[i]);
4003 INIT_LIST_HEAD(&unconf_str_hashtbl[i]); 4003 INIT_LIST_HEAD(&unconf_str_hashtbl[i]);
4004 INIT_LIST_HEAD(&unconf_id_hashtbl[i]); 4004 INIT_LIST_HEAD(&unconf_id_hashtbl[i]);
4005 INIT_LIST_HEAD(&reclaim_str_hashtbl[i]);
4005 } 4006 }
4006 for (i = 0; i < SESSION_HASH_SIZE; i++) 4007 for (i = 0; i < SESSION_HASH_SIZE; i++)
4007 INIT_LIST_HEAD(&sessionid_hashtbl[i]); 4008 INIT_LIST_HEAD(&sessionid_hashtbl[i]);
@@ -4024,8 +4025,6 @@ nfs4_state_init(void)
4024 INIT_LIST_HEAD(&close_lru); 4025 INIT_LIST_HEAD(&close_lru);
4025 INIT_LIST_HEAD(&client_lru); 4026 INIT_LIST_HEAD(&client_lru);
4026 INIT_LIST_HEAD(&del_recall_lru); 4027 INIT_LIST_HEAD(&del_recall_lru);
4027 for (i = 0; i < CLIENT_HASH_SIZE; i++)
4028 INIT_LIST_HEAD(&reclaim_str_hashtbl[i]);
4029 reclaim_str_hashtbl_size = 0; 4028 reclaim_str_hashtbl_size = 0;
4030 return 0; 4029 return 0;
4031} 4030}