From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com
Subject: Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
Date: Tue, 28 Oct 2014 16:49:25 -0700 [thread overview]
Message-ID: <20141028234925.GB8321@linux.vnet.ibm.com> (raw)
And similarly for this one on both counts.
Thanx, Paul
----- Forwarded message from "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> -----
Date: Tue, 28 Oct 2014 15:09:57 -0700
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: mingo@kernel.org, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com,
oleg@redhat.com, bobby.prani@gmail.com, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
X-Mailer: git-send-email 1.8.1.5
From: Pranith Kumar <bobby.prani@gmail.com>
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>
---
drivers/md/dm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index e7399362722e..3372b8378830 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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;
--
1.8.1.5
----- End forwarded message -----
----- End forwarded message -----
next reply other threads:[~2014-10-28 23:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 23:49 Paul E. McKenney [this message]
2014-10-29 0:25 ` Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking Mike Snitzer
2014-10-29 2:43 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141028234925.GB8321@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=snitzer@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox