summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2003-01-05 03:42:22 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-05 03:42:22 -0800
commit5d28552e6f40b45cb80f090e5152bbc67b7a0cf3 (patch)
treeec94336a149d6bb9ae3cfb9318af78e57369dc94 /include
parentf64652e149ae24c9554a99f1aa838eb84c10c756 (diff)
[PATCH] knfsd: Fix bug in RPC cache when entry in replaced
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/cache.h2
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); \