Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164603
b: refs/heads/master
c: 5c4d263
h: refs/heads/master
i:
  164601: f1a25eb
  164599: 6639ef2
v: v3
  • Loading branch information
NeilBrown authored and J. Bruce Fields committed Aug 4, 2009
1 parent 8cbcced commit bf5c2a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f866a8194f7cbabb9135b98b9ac7d26237b88367
refs/heads/master: 5c4d26390341732a8d614141a4cf4663610a1698
5 changes: 4 additions & 1 deletion trunk/net/sunrpc/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ int cache_check(struct cache_detail *detail,
switch (cache_make_upcall(detail, h)) {
case -EINVAL:
clear_bit(CACHE_PENDING, &h->flags);
cache_revisit_request(h);
if (rv == -EAGAIN) {
set_bit(CACHE_NEGATIVE, &h->flags);
cache_fresh_unlocked(h, detail,
Expand Down Expand Up @@ -473,8 +474,10 @@ static int cache_clean(void)
if (!ch)
current_index ++;
spin_unlock(&cache_list_lock);
if (ch)
if (ch) {
cache_revisit_request(ch);
cache_put(ch, d);
}
} else
spin_unlock(&cache_list_lock);

Expand Down

0 comments on commit bf5c2a4

Please sign in to comment.