Commit ec8acac8 authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd4: remove some debugging code

This is overkill.
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 9303bbd3
...@@ -591,10 +591,8 @@ find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid) ...@@ -591,10 +591,8 @@ find_in_sessionid_hashtbl(struct nfs4_sessionid *sessionid)
dump_sessionid(__func__, sessionid); dump_sessionid(__func__, sessionid);
idx = hash_sessionid(sessionid); idx = hash_sessionid(sessionid);
dprintk("%s: idx is %d\n", __func__, idx);
/* Search in the appropriate list */ /* Search in the appropriate list */
list_for_each_entry(elem, &sessionid_hashtbl[idx], se_hash) { list_for_each_entry(elem, &sessionid_hashtbl[idx], se_hash) {
dump_sessionid("list traversal", &elem->se_sessionid);
if (!memcmp(elem->se_sessionid.data, sessionid->data, if (!memcmp(elem->se_sessionid.data, sessionid->data,
NFS4_MAX_SESSIONID_LEN)) { NFS4_MAX_SESSIONID_LEN)) {
return elem; return elem;
......
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