]> 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)
commitdebf039d01e1e4c94f21dffdb7580165ee1a5175
treeceb69fab0917d83089c0bb53acb1921009cc6be3
parent418f0c157c9b97dd98751bc8312927355f27c228
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