Commit 328efbab authored by Benny Halevy's avatar Benny Halevy Committed by J. Bruce Fields

nfsd4: use list_move in move_to_confirmed

rather than list_del_init, list_add
Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent be1fdf6c
...@@ -859,10 +859,9 @@ move_to_confirmed(struct nfs4_client *clp) ...@@ -859,10 +859,9 @@ move_to_confirmed(struct nfs4_client *clp)
unsigned int strhashval; unsigned int strhashval;
dprintk("NFSD: move_to_confirm nfs4_client %p\n", clp); dprintk("NFSD: move_to_confirm nfs4_client %p\n", clp);
list_del_init(&clp->cl_strhash);
list_move(&clp->cl_idhash, &conf_id_hashtbl[idhashval]); list_move(&clp->cl_idhash, &conf_id_hashtbl[idhashval]);
strhashval = clientstr_hashval(clp->cl_recdir); strhashval = clientstr_hashval(clp->cl_recdir);
list_add(&clp->cl_strhash, &conf_str_hashtbl[strhashval]); list_move(&clp->cl_strhash, &conf_str_hashtbl[strhashval]);
renew_client(clp); renew_client(clp);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment