diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-20 17:41:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-20 18:56:11 +0300 |
commit | 008f75a20e7072d0840ec323c39b42206f3fa8a0 (patch) | |
tree | f5e446c0d7e9024e7eb1be8e57fb842663f91c41 /block/blk-mq-tag.c | |
parent | b600455d84307696b3cb7debdaf3081080748409 (diff) | |
download | linux-008f75a20e7072d0840ec323c39b42206f3fa8a0.tar.xz |
block: cleanup the flush plug helpers
Consolidate the various helpers into a single blk_flush_plug helper that
takes a plk_plug and the from_scheduler bool and switch all callsites to
call it directly. Checks that the plug is non-NULL must be performed by
the caller, something that most already do anyway.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211020144119.142582-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions