block: remove the disk argument to delete_partition
We can trivially derive the gendisk from the hd_struct. Signed-off-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录
We can trivially derive the gendisk from the hd_struct. Signed-off-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>