diff options
author | Tejun Heo <tj@kernel.org> | 2018-01-09 19:29:53 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-09 19:31:15 +0300 |
commit | 05707b64aed8f5f1674b25334fb720d651459d5e (patch) | |
tree | 121598221971a290944d767f97ef83486b79fc88 /include/linux/blk-mq.h | |
parent | 5a61c36398d0626bad377a7f5b9391b21e16e91d (diff) | |
download | linux-05707b64aed8f5f1674b25334fb720d651459d5e.tar.xz |
blk-mq: rename blk_mq_hw_ctx->queue_rq_srcu to ->srcu
The RCU protection has been expanded to cover both queueing and
completion paths making ->queue_rq_srcu a misnomer. Rename it to
->srcu as suggested by Bart.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Bart Van Assche <Bart.VanAssche@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 460798dbac1f..8efcf49796a3 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -66,7 +66,7 @@ struct blk_mq_hw_ctx { #endif /* Must be the last member - see also blk_mq_hw_ctx_size(). */ - struct srcu_struct queue_rq_srcu[0]; + struct srcu_struct srcu[0]; }; struct blk_mq_tag_set { |