]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5059f9985e111eca77e3c68013dbcbc06548a06c
treeceb69fab0917d83089c0bb53acb1921009cc6be3
parent6d4b57453f7f73addf3df6076f2ca03409593a78
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