]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove alloc_part_info and free_part_info
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Mar 2020 07:25:14 +0000 (08:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Mar 2020 13:57:07 +0000 (07:57 -0600)
commit49a00753b0206ac99b2224bcc5086a7ad64b8fdf
treedefb8d2c974a8ba695f4a109e2217b994142b459
parentea993662e53d4276a38139128c1a34e5a90e9576
block: remove alloc_part_info and free_part_info

There isn't any good reason not to simply open code the allocation and
freeing of the partition_meta_info structure.  Especially as one of
the branches in alloc_part_info is entirely dead code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partition-generic.c
include/linux/genhd.h