]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a disk_uevent helper
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Jan 2021 10:02:39 +0000 (11:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:17:20 +0000 (18:17 -0700)
commit25f35ca95d3caf7f4232688f5821c485347ce331
tree1daa9b7e3645bb482f319aa2bdaa01995a965c98
parent7861eef6e63db6a40ea1c6658d7bcdf080b49433
block: add a disk_uevent helper

Add a helper to call kobject_uevent for the disk and all partitions, and
unexport the disk_part_iter_* helpers that are now only used in the core
block code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
drivers/s390/block/dasd.c
include/linux/genhd.h