path: root/block/partitions/core.c
diff options
authorChristoph Hellwig <>2021-04-06 08:22:52 +0200
committerJens Axboe <>2021-04-08 10:24:36 -0600
commitb896fa85e0ee4f09ba4be48a3f405fc82c38afb4 (patch)
tree4499d5960d62938852ab1701e3077f0262f4f0e0 /block/partitions/core.c
parent540ad3f3da2542ec99235ac55e7cba8b11ce4b7b (diff)
dasd: use bdev_disk_changed instead of blk_drop_partitions
Use the more general interface - the behavior is the same except that now a change uevent is sent, which is the right thing to do when the device becomes unusable. Signed-off-by: Christoph Hellwig <> Acked-by: Stefan Haberland <> Link: Signed-off-by: Jens Axboe <>
Diffstat (limited to 'block/partitions/core.c')
1 files changed, 0 insertions, 4 deletions
diff --git a/block/partitions/core.c b/block/partitions/core.c
index 1a7558917c47..22a0dab17ed3 100644
--- a/block/partitions/core.c
+++ b/block/partitions/core.c
@@ -544,10 +544,6 @@ int blk_drop_partitions(struct block_device *bdev)
return 0;
-#ifdef CONFIG_S390
-/* for historic reasons in the DASD driver */
static bool blk_add_partition(struct gendisk *disk, struct block_device *bdev,
struct parsed_partitions *state, int p)