Re: [RESEND PATCH] drivers/md: Use rcu_dereference() for accessing rcu pointer

2014-09-28 Thread Paul E. McKenney
On Sun, Sep 28, 2014 at 11:05:04AM -0400, Pranith Kumar wrote: > Got Paul's email wrong the first time. > > The map field in 'struct mapped_device' is an rcu pointer. Use > rcu_dereference() > while accessing it. > > Signed-off-by: Pranith Kumar OK, I now have all three queued (including the e

[RESEND PATCH] drivers/md: Use rcu_dereference() for accessing rcu pointer

2014-09-28 Thread Pranith Kumar
Got Paul's email wrong the first time. The map field in 'struct mapped_device' is an rcu pointer. Use rcu_dereference() while accessing it. Signed-off-by: Pranith Kumar --- drivers/md/dm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/d

[PATCH] drivers/md: Use rcu_dereference() for accessing rcu pointer

2014-09-28 Thread Pranith Kumar
The map field in 'struct mapped_device' is an rcu pointer. Use rcu_dereference() while accessing it. Signed-off-by: Pranith Kumar --- drivers/md/dm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 746411b..fbdf0bb 100644 --- a/