mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
33423974bf
commit
6fa9952097
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue