diff options
Diffstat (limited to 'net/sunrpc/cache.c')
-rw-r--r-- | net/sunrpc/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index f3897d10f649..39a4112faf54 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -670,13 +670,13 @@ static void cache_revisit_request(struct cache_head *item) | |||
670 | { | 670 | { |
671 | struct cache_deferred_req *dreq; | 671 | struct cache_deferred_req *dreq; |
672 | struct list_head pending; | 672 | struct list_head pending; |
673 | struct hlist_node *lp, *tmp; | 673 | struct hlist_node *tmp; |
674 | int hash = DFR_HASH(item); | 674 | int hash = DFR_HASH(item); |
675 | 675 | ||
676 | INIT_LIST_HEAD(&pending); | 676 | INIT_LIST_HEAD(&pending); |
677 | spin_lock(&cache_defer_lock); | 677 | spin_lock(&cache_defer_lock); |
678 | 678 | ||
679 | hlist_for_each_entry_safe(dreq, lp, tmp, &cache_defer_hash[hash], hash) | 679 | hlist_for_each_entry_safe(dreq, tmp, &cache_defer_hash[hash], hash) |
680 | if (dreq->item == item) { | 680 | if (dreq->item == item) { |
681 | __unhash_deferred_req(dreq); | 681 | __unhash_deferred_req(dreq); |
682 | list_add(&dreq->recent, &pending); | 682 | list_add(&dreq->recent, &pending); |