]> git.baikalelectronics.ru Git - kernel.git/commit
block: simplify the block device syncing code
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)
commit40b84b6d0143703fe69a171911eff770e6ab9e70
treec0036f9aa7fead90fc9ed6d3c4001a71881898ce
parent1004f1a5b318cdaf372ebc79cf6eadd9bb782e9f
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