summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-05-19 07:40:44 +0300
committerJens Axboe <axboe@kernel.dk>2023-05-20 04:52:29 +0300
commit0b573692f19501dfe2aeaf37b272ec07f60c70b9 (patch)
tree1d9d8414e4f5decf335d3b3f2f980ba2129e2dc8 /include/linux
parentbda2795a630b2f6c417675bfbf4d90ef7503dfc7 (diff)
downloadlinux-0b573692f19501dfe2aeaf37b272ec07f60c70b9.tar.xz
blk-mq: factor out a blk_rq_init_flush helper
Factor out a helper from blk_insert_flush that initializes the flush machine related fields in struct request, and don't bother with the full memset as there's just a few fields to initialize, and all but one already have explicit initializers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230519044050.107790-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions