git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sunrpc/cache: rename queue_loose to cache_dequeue
[safe/jmp/linux-2.6]
/
net
/
sunrpc
/
cache.c
diff --git
a/net/sunrpc/cache.c
b/net/sunrpc/cache.c
index
ff0c230
..
d19c075
100644
(file)
--- a/
net/sunrpc/cache.c
+++ b/
net/sunrpc/cache.c
@@
-101,7
+101,7
@@
struct cache_head *sunrpc_cache_lookup(struct cache_detail *detail,
EXPORT_SYMBOL_GPL(sunrpc_cache_lookup);
EXPORT_SYMBOL_GPL(sunrpc_cache_lookup);
-static void
queue_loos
e(struct cache_detail *detail, struct cache_head *ch);
+static void
cache_dequeu
e(struct cache_detail *detail, struct cache_head *ch);
static int cache_fresh_locked(struct cache_head *head, time_t expiry)
{
static int cache_fresh_locked(struct cache_head *head, time_t expiry)
{
@@
-117,7
+117,7
@@
static void cache_fresh_unlocked(struct cache_head *head,
cache_revisit_request(head);
if (test_and_clear_bit(CACHE_PENDING, &head->flags)) {
cache_revisit_request(head);
cache_revisit_request(head);
if (test_and_clear_bit(CACHE_PENDING, &head->flags)) {
cache_revisit_request(head);
-
queue_loos
e(detail, head);
+
cache_dequeu
e(detail, head);
}
}
}
}
@@
-457,7
+457,7
@@
static int cache_clean(void)
)
continue;
if (test_and_clear_bit(CACHE_PENDING, &ch->flags))
)
continue;
if (test_and_clear_bit(CACHE_PENDING, &ch->flags))
-
queue_loos
e(current_detail, ch);
+
cache_dequeu
e(current_detail, ch);
if (atomic_read(&ch->ref.refcount) == 1)
break;
if (atomic_read(&ch->ref.refcount) == 1)
break;
@@
-920,7
+920,7
@@
static const struct file_operations cache_file_operations = {
};
};
-static void
queue_loos
e(struct cache_detail *detail, struct cache_head *ch)
+static void
cache_dequeu
e(struct cache_detail *detail, struct cache_head *ch)
{
struct cache_queue *cq;
spin_lock(&queue_lock);
{
struct cache_queue *cq;
spin_lock(&queue_lock);