Skip to content
Commit 33423974 authored by Pranith Kumar's avatar Pranith Kumar Committed by Mike Snitzer
Browse files

dm: Use rcu_dereference() for accessing rcu pointer



The map field in 'struct mapped_device' is an rcu pointer. Use rcu_dereference()
while accessing it.

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 42d6a8ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment