block: remove the disk argument to delete_partition
authorChristoph Hellwig <hch@lst.de>
Mon, 31 Aug 2020 18:02:38 +0000 (20:02 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 01:38:25 +0000 (19:38 -0600)
commit8328eb28369a7dbfab6ff26366dbe8094425acc4
treeceb69fab0917d83089c0bb53acb1921009cc6be3
parentf93af2a494e1d28377065a2320d11da98110a970
block: remove the disk argument to delete_partition

We can trivially derive the gendisk from the hd_struct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
block/genhd.c
block/partitions/core.c