aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
index ff0c23053d2f..d19c07583f8f 100644
--- a/net/sunrpc/cache.c
+++ b/net/sunrpc/cache.c
@@ -101,7 +101,7 @@ struct cache_head *sunrpc_cache_lookup(struct cache_detail *detail,
101EXPORT_SYMBOL_GPL(sunrpc_cache_lookup); 101EXPORT_SYMBOL_GPL(sunrpc_cache_lookup);
102 102
103 103
104static void queue_loose(struct cache_detail *detail, struct cache_head *ch); 104static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
105 105
106static int cache_fresh_locked(struct cache_head *head, time_t expiry) 106static int cache_fresh_locked(struct cache_head *head, time_t expiry)
107{ 107{
@@ -117,7 +117,7 @@ static void cache_fresh_unlocked(struct cache_head *head,
117 cache_revisit_request(head); 117 cache_revisit_request(head);
118 if (test_and_clear_bit(CACHE_PENDING, &head->flags)) { 118 if (test_and_clear_bit(CACHE_PENDING, &head->flags)) {
119 cache_revisit_request(head); 119 cache_revisit_request(head);
120 queue_loose(detail, head); 120 cache_dequeue(detail, head);
121 } 121 }
122} 122}
123 123
@@ -457,7 +457,7 @@ static int cache_clean(void)
457 ) 457 )
458 continue; 458 continue;
459 if (test_and_clear_bit(CACHE_PENDING, &ch->flags)) 459 if (test_and_clear_bit(CACHE_PENDING, &ch->flags))
460 queue_loose(current_detail, ch); 460 cache_dequeue(current_detail, ch);
461 461
462 if (atomic_read(&ch->ref.refcount) == 1) 462 if (atomic_read(&ch->ref.refcount) == 1)
463 break; 463 break;
@@ -920,7 +920,7 @@ static const struct file_operations cache_file_operations = {
920}; 920};
921 921
922 922
923static void queue_loose(struct cache_detail *detail, struct cache_head *ch) 923static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch)
924{ 924{
925 struct cache_queue *cq; 925 struct cache_queue *cq;
926 spin_lock(&queue_lock); 926 spin_lock(&queue_lock);