Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320397
b: refs/heads/master
c: 200724a
h: refs/heads/master
i:
  320395: a905562
v: v3
  • Loading branch information
NeilBrown authored and J. Bruce Fields committed Jul 12, 2012
1 parent 93ae0a1 commit bcf3065
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: bbf43dc888833ac0539e437dbaeb28bfd4fbab9f
refs/heads/master: 200724a7074281e7a0bf1101784a59fecddfa77d
5 changes: 4 additions & 1 deletion trunk/net/sunrpc/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1349,8 +1349,11 @@ static int c_show(struct seq_file *m, void *p)
if (cache_check(cd, cp, NULL))
/* cache_check does a cache_put on failure */
seq_printf(m, "# ");
else
else {
if (cache_is_expired(cd, cp))
seq_printf(m, "# ");
cache_put(cp, cd);
}

return cd->cache_show(m, cd, cp);
}
Expand Down

0 comments on commit bcf3065

Please sign in to comment.