Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

blk-mq: Document tags_srcu member in blk_mq_tag_set structure

Add missing documentation for the tags_srcu member that was introduced
to defer freeing of tags page_list to prevent use-after-free when
iterating tags.

Fixes htmldocs warning:
WARNING: include/linux/blk-mq.h:536 struct member 'tags_srcu' not described in 'blk_mq_tag_set'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Ming Lei and committed by
Jens Axboe
199c9a8d d86eaa0f

+2
+2
include/linux/blk-mq.h
··· 507 507 * request_queue.tag_set_list. 508 508 * @srcu: Use as lock when type of the request queue is blocking 509 509 * (BLK_MQ_F_BLOCKING). 510 + * @tags_srcu: SRCU used to defer freeing of tags page_list to prevent 511 + * use-after-free when iterating tags. 510 512 * @update_nr_hwq_lock: 511 513 * Synchronize updating nr_hw_queues with add/del disk & 512 514 * switching elevator.