Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f33c8b94 authored by Julian Anastasov's avatar Julian Anastasov Committed by Simon Horman
Browse files

ipvs: fix sparse warnings in lblc and lblcr



kbuild test robot reports for sparse warnings in
commits c2a4ffb7 ("ipvs: convert lblc scheduler to rcu")
and c5549571 ("ipvs: convert lblcr scheduler to rcu").

Fix it by removing extra __rcu annotation.

Signed-off-by: default avatarJulian Anastasov <ja@ssi.bg>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 371990ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ struct ip_vs_lblc_entry {
 */
struct ip_vs_lblc_table {
	struct rcu_head		rcu_head;
	struct hlist_head __rcu bucket[IP_VS_LBLC_TAB_SIZE];  /* hash bucket */
	struct hlist_head	bucket[IP_VS_LBLC_TAB_SIZE];  /* hash bucket */
	struct timer_list       periodic_timer; /* collect stale entries */
	atomic_t                entries;        /* number of entries */
	int                     max_size;       /* maximum size of entries */
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ struct ip_vs_lblcr_entry {
 */
struct ip_vs_lblcr_table {
	struct rcu_head		rcu_head;
	struct hlist_head __rcu bucket[IP_VS_LBLCR_TAB_SIZE];  /* hash bucket */
	struct hlist_head	bucket[IP_VS_LBLCR_TAB_SIZE];  /* hash bucket */
	atomic_t                entries;        /* number of entries */
	int                     max_size;       /* maximum size of entries */
	struct timer_list       periodic_timer; /* collect stale entries */