diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-22 10:53:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-02 22:37:28 +0300 |
commit | 0468c5323413c6903e4cbcef841a55e6c5578cd2 (patch) | |
tree | 4efff9ecf71aa0b930a85a03ed80648fe0e8ecf3 /scripts | |
parent | d7a66574b34e0b354442140927f9b787efccabfd (diff) | |
download | linux-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 'scripts')
0 files changed, 0 insertions, 0 deletions