block: remove the disk argument from blk_drop_partitions
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Apr 2020 07:28:57 +0000 (09:28 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Apr 2020 17:32:59 +0000 (11:32 -0600)
commitd46430bf5a2298f55e20f59a90ebe3545d273b2f
tree99288a751fbe2e0502be81719f4ccc3144e797c6
parent4377b48da6da44360cc76cd3e0562dbb47dd4904
block: remove the disk argument from blk_drop_partitions

The gendisk can be trivially deducted from the block_device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c
fs/block_dev.c
include/linux/genhd.h