dm: sparse: Annotate field with __rcu for checking
PATCH 4/9 dm: sparse: Annotate field with __rcu for checking
And similarly for this one on both counts.
Thanx, Paul
----- Forwarded message from "Paul E. McKenney" <[email protected]> -----
Date: Tue, 28 Oct 2014 15:09:57 -0700
From: "Paul E. McKenney" <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], "Paul E. McKenney" <[email protected]>
Subject: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
X-Mailer: git-send-email 1.8.1.5
From: Pranith Kumar <[email protected]>
Annotate the map field with __rcu since this is a rcu pointer which is checked by sparse.
--- drivers/md/dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm.c +1 -1
@@ -140,7 +140,7 @@ struct mapped_device {* Use dm_get_live_table{_fast} or take suspend_lock for * dereference. */ -struct dm_table *map; +struct dm_table __rcu *map;struct list_head table_devices;struct mutex table_devices_lock;
Signature · 6 lines
1.8.1.5 ----- End forwarded message ----- ----- End forwarded message -----
Quoted 1 line · Paul E. McKenney
And similarly for this one on both counts.
Yeap, I'll take it, thanks.
Quoted 6 lines · Mike Snitzer
Quoted 1 line · Paul E. McKenney
And similarly for this one on both counts.
Yeap, I'll take it, thanks.
Very good, I will drop both from my tree.
Thanx, Paul