diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-19 06:40:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-19 19:52:29 -0600 |
commit | 0b573692f19501dfe2aeaf37b272ec07f60c70b9 (patch) | |
tree | 1d9d8414e4f5decf335d3b3f2f980ba2129e2dc8 /mm/shmem.c | |
parent | bda2795a630b2f6c417675bfbf4d90ef7503dfc7 (diff) |
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 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions