block: remove __sync_blockdev
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2021 06:25:25 +0000 (08:25 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Oct 2021 14:36:55 +0000 (08:36 -0600)
commit70164eb6ccb76ab679b016b4b60123bf4ec6c162
tree940329ff4f1a63d41c97573a86620e428b5a2dfa
parent9a208ba5c9afa62c7b1e9c6f5e783066e84e2d3c
block: remove __sync_blockdev

Instead offer a new sync_blockdev_nowait helper for the !wait case.
This new helper is exported as it will grow modular callers in a bit.

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