block: merge disk_scan_partitions and blkdev_reread_part
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Nov 2021 13:06:16 +0000 (14:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:35:21 +0000 (06:35 -0700)
commite16e506ccd673a3a888a34f8f694698305840044
treeccf5b29c0132bf9a83e01ce253a311dffb42a15c
parente3b3bad3f29878d13fdbc96f9e59674bd9b06bae
block: merge disk_scan_partitions and blkdev_reread_part

Unify the functionality that implements a partition rescan for a
gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
block/genhd.c
block/ioctl.c