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

Liu Yuan namei.unix at gmail.com
Fri Mar 29 14:36:21 CET 2013


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.

Thanks,
Yuan



More information about the sheepdog mailing list