]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7f9f4fe020449439167b43c07fb03b364b25735
tree940329ff4f1a63d41c97573a86620e428b5a2dfa
parent2d5394dd4445ed0717df029643f23f40a20d5f09
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