block: remove __sync_blockdev
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2021 06:25:25 +0000 (08:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Apr 2022 12:38:50 +0000 (14:38 +0200)
commit7877e7a5a52e1c9716326b94dfe6c7e6cd7bce5a
treeb45e6c6b01c70a1e0a27ced2223b6116611f6823
parent4b7617ae04de31fe96aae445a35395078b6eefd6
block: remove __sync_blockdev

[ Upstream commit 70164eb6ccb76ab679b016b4b60123bf4ec6c162 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/bdev.c
fs/internal.h
fs/sync.c
include/linux/blkdev.h