diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2003-01-05 03:42:22 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-01-05 03:42:22 -0800 |
| commit | 5d28552e6f40b45cb80f090e5152bbc67b7a0cf3 (patch) | |
| tree | ec94336a149d6bb9ae3cfb9318af78e57369dc94 /include/linux/sunrpc | |
| parent | f64652e149ae24c9554a99f1aa838eb84c10c756 (diff) | |
[PATCH] knfsd: Fix bug in RPC cache when entry in replaced
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index 74e53a04907e..79d893bffdc3 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h @@ -171,7 +171,7 @@ RTN *FNAME ARGS \ if (!new) break; \ \ new->MEMBER.next = tmp->MEMBER.next; \ - *head = &new->MEMBER; \ + *hp = &new->MEMBER; \ tmp->MEMBER.next = NULL; \ set_bit(CACHE_HASHED, &new->MEMBER.flags); \ clear_bit(CACHE_HASHED, &tmp->MEMBER.flags); \ |
