block: simplify the block device syncing code for-5.16/inode-sync for-5.16/inode-sync-2021-10-29
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2021 06:25:30 +0000 (08:25 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Oct 2021 14:36:55 +0000 (08:36 -0600)
commit1e03a36bdff4709c1bbf0f57f60ae3f776d51adf
treec0036f9aa7fead90fc9ed6d3c4001a71881898ce
parent680e667bc2e4e458a373bbfd367b7174e4972eb5
block: simplify the block device syncing code

Get rid of the indirections and just provide a sync_bdevs
helper for the generic sync code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211019062530.2174626-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bdev.c
fs/internal.h
fs/sync.c
include/linux/blkdev.h