diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-10-28 23:09:56 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-11-10 21:25:29 +0100 |
commit | 33423974bfc1c61193df765078f0466fece7021e (patch) | |
tree | 7be12b81b13b978cda2f483a875c39a4def34dab /mm/memory.c | |
parent | dm thin: refactor requeue_io to eliminate spinlock bouncing (diff) | |
download | linux-33423974bfc1c61193df765078f0466fece7021e.tar.xz linux-33423974bfc1c61193df765078f0466fece7021e.zip |
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: 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>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions