[sheepdog] [PATCH] util: place endif at correct place of list.h

Hitoshi Mitake mitake.hitoshi at gmail.com
Fri Mar 29 14:45:54 CET 2013


At Fri, 29 Mar 2013 21:36:21 +0800,
Liu Yuan wrote:
> 
> On 03/29/2013 08:30 PM, Hitoshi Mitake wrote:
> >  #define list_for_each_entry_revert_safe_rcu(pos, n, head, member)          \
> >  	for (pos = cds_list_entry(rcu_dereference((head)->prev),           \
> > @@ -262,3 +260,5 @@ static inline void hlist_add_after(struct hlist_node *n,
> >  				&pos->member != (head);                    \
> >  	     pos = n, n = cds_list_entry(rcu_dereference(pos->member.prev),\
> >  					 typeof(*pos), member))
> 
> We should remove this rcu list macro because it is wrong. Just a
> leftover when I was fixing object cache LRU list.
> 

OK, I'll send v2 later.

Thanks,
Hitoshi



More information about the sheepdog mailing list