]> www.infradead.org Git - users/hch/block.git/commit
block: add a disk_uevent helper
authorChristoph Hellwig <hch@lst.de>
Sun, 29 Nov 2020 14:00:53 +0000 (15:00 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 23 Jan 2021 21:02:27 +0000 (22:02 +0100)
commit8d02f23db2e8ebe01a8b35a326a55c1a30b1901f
tree56d40933f2c97afe33236959d6e2b74741312b67
parent7c504735a4016ba8abcd39bbe90ad6be78f18f64
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>
block/genhd.c
drivers/s390/block/dasd.c
include/linux/genhd.h