summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2005-03-09 16:49:25 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-09 16:49:25 -0800
commitee7ded83f7807091f1a33d73938f11fb75e79288 (patch)
treeaf6bcb11ed1ec09c067ee77d3fdcc6189d12d8d4 /include/linux/input.h
parent666d0944a00f7d8143bccedefaa1fb2e0bbe0bd9 (diff)
[PATCH] nfsd4: simplify clientid hash table searches
We repeat the same hash table searches in a bunch of places, and keep making the mistake of assuming the variable iterating over the list will be NULL when the search fails. Some helper functions here simplify things a bit. While we're at it, make move_to_confirmed take just a clp instead of making the caller compute the hash. This means we sometimes have to compute the hash multiple times, but it's only an &, so no big deal. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/input.h')
0 files changed, 0 insertions, 0 deletions