aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-10-20 14:41:19 +0000
committerJens Axboe <[email protected]>2021-10-20 15:56:11 +0000
commit008f75a20e7072d0840ec323c39b42206f3fa8a0 (patch)
treef5e446c0d7e9024e7eb1be8e57fb842663f91c41 /fs/btrfs/dev-replace.c
parentblock: optimise blk_flush_plug_list (diff)
downloadkernel-008f75a20e7072d0840ec323c39b42206f3fa8a0.tar.gz
kernel-008f75a20e7072d0840ec323c39b42206f3fa8a0.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions