summaryrefslogtreecommitdiffstats
path: root/net/rose
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-04-07 11:16:49 -0700
committerJens Axboe <axboe@fb.com>2017-04-07 12:45:47 -0600
commit705cda97ee3abb6ea38d651b54f4da83c2bb2a4a (patch)
treefdc8eae0529160e721890e586080ae4d40163d7a /net/rose
parentd945a365a0686a37618503622954f8dc169b8bca (diff)
downloadlinux-705cda97ee3abb6ea38d651b54f4da83c2bb2a4a.tar.gz
linux-705cda97ee3abb6ea38d651b54f4da83c2bb2a4a.tar.bz2
linux-705cda97ee3abb6ea38d651b54f4da83c2bb2a4a.zip
blk-mq: Make it safe to use RCU to iterate over blk_mq_tag_set.tag_list
Since the next patch in this series will use RCU to iterate over tag_list, make this safe. Add lockdep_assert_held() statements in functions that iterate over tag_list to make clear that using list_for_each_entry() instead of list_for_each_entry_rcu() is fine in these functions. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions