]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e507876a502c170c4a8472404570127a496765c
tree99288a751fbe2e0502be81719f4ccc3144e797c6
parentd8118aec2eaa58b5d258039da036391fec770965
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