diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-04-07 20:16:49 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-07 20:45:47 +0200 |
commit | 705cda97ee3abb6ea38d651b54f4da83c2bb2a4a (patch) | |
tree | fdc8eae0529160e721890e586080ae4d40163d7a /net/compat.c | |
parent | blk-mq: use true instead of 1 for blk_mq_queue_data.last (diff) | |
download | linux-705cda97ee3abb6ea38d651b54f4da83c2bb2a4a.tar.xz 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/compat.c')
0 files changed, 0 insertions, 0 deletions