]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
block: remove blk_free_devt in add_partition
authorweiping zhang <zhangweiping@didichuxing.com>
Fri, 18 Aug 2017 15:54:46 +0000 (23:54 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Aug 2017 14:26:57 +0000 (08:26 -0600)
commit47570848f0864374dec4accce68d23fc0eaac0b2
treed56672293b49811a0e04874a726093ebaf824c9f
parent97e05463e0dfa8df709009625302fa5c5049b016
block: remove blk_free_devt in add_partition

put_device(pdev) will call pdev->type->release finally, and blk_free_devt
has been called in part_release(), so remove it.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partition-generic.c