Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68767
b: refs/heads/master
c: dca1dd3
h: refs/heads/master
i:
  68765: 0456808
  68763: 8f2c8e1
  68759: be00c1b
  68751: 4d868d8
  68735: 1eae619
v: v3
  • Loading branch information
J. Bruce Fields committed Oct 9, 2007
1 parent 24ea49a commit 6f8c8d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 45457e0916f8253691a44d3574949b6d3d5872b1
refs/heads/master: dca1dd30ce0a6234acc751bb90efba1b49079669
10 changes: 0 additions & 10 deletions trunk/include/linux/sunrpc/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,6 @@ sunrpc_cache_update(struct cache_detail *detail,
struct cache_head *new, struct cache_head *old, int hash);


#define cache_for_each(pos, detail, index, member) \
for (({read_lock(&(detail)->hash_lock); index = (detail)->hash_size;}) ; \
({if (index==0)read_unlock(&(detail)->hash_lock); index--;}); \
) \
for (pos = container_of((detail)->hash_table[index], typeof(*pos), member); \
&pos->member; \
pos = container_of(pos->member.next, typeof(*pos), member))



extern void cache_clean_deferred(void *owner);

static inline struct cache_head *cache_get(struct cache_head *h)
Expand Down

0 comments on commit 6f8c8d9

Please sign in to comment.