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

Commit 6fa99520 authored by Pranith Kumar's avatar Pranith Kumar Committed by Mike Snitzer
Browse files

dm: sparse: Annotate field with __rcu for checking



Annotate the map field with __rcu since this is a rcu pointer which is checked
by sparse.

Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 33423974
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;