diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2005-03-09 16:49:25 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-09 16:49:25 -0800 |
| commit | ee7ded83f7807091f1a33d73938f11fb75e79288 (patch) | |
| tree | af6bcb11ed1ec09c067ee77d3fdcc6189d12d8d4 /include/linux | |
| parent | 666d0944a00f7d8143bccedefaa1fb2e0bbe0bd9 (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')
0 files changed, 0 insertions, 0 deletions
