]> www.infradead.org Git - users/hch/block.git/commit
block: merge disk_scan_partitions and blkdev_reread_part part-scan
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Mar 2021 16:51:29 +0000 (17:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 29 Mar 2021 06:03:23 +0000 (08:03 +0200)
commit8a11f752ebece25275de470f88044b6da656a443
tree56c885b760bd088cfbbfe5a25b882829e23948b4
parent430a67f9d6169a7b3e328bceb2ef9542e4153c7c
block: merge disk_scan_partitions and blkdev_reread_part

Reuse disk_scan_partitions in the ioctl path instead of duplicating
the functionality.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/genhd.c
block/ioctl.c
include/linux/genhd.h