summaryrefslogtreecommitdiff
path: root/lib/test_min_heap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-07-22 10:53:57 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-02 22:37:28 +0300
commit0468c5323413c6903e4cbcef841a55e6c5578cd2 (patch)
tree4efff9ecf71aa0b930a85a03ed80648fe0e8ecf3 /lib/test_min_heap.c
parentd7a66574b34e0b354442140927f9b787efccabfd (diff)
downloadlinux-0468c5323413c6903e4cbcef841a55e6c5578cd2.tar.xz
block: allocate bd_meta_info later in add_partitions
Move the allocation of bd_meta_info after initializing the struct device to avoid the special bdput error handling path. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20210722075402.983367-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_min_heap.c')
0 files changed, 0 insertions, 0 deletions