... | ... |
@@ -85,9 +85,9 @@ static void cacheset_lru_remove(struct cache_set *map, size_t howmany) |
85 | 85 |
while (howmany--) { |
86 | 86 |
struct cache_key *old; |
87 | 87 |
assert(map->lru_head); |
88 |
- assert(!old->lru_prev); |
|
89 | 88 |
/* Remove a key from the head of the list */ |
90 | 89 |
old = map->lru_head; |
90 |
+ assert(!old->lru_prev); |
|
91 | 91 |
map->lru_head = old->lru_next; |
92 | 92 |
old->size = CACHE_KEY_DELETED; |
93 | 93 |
/* This slot is now deleted, it is not empty, |