diff options
author | 2021-07-22 09:53:57 +0200 | |
---|---|---|
committer | 2021-08-02 13:37:28 -0600 | |
commit | 0468c5323413c6903e4cbcef841a55e6c5578cd2 (patch) | |
tree | 4efff9ecf71aa0b930a85a03ed80648fe0e8ecf3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: unhash the whole device inode earlier (diff) | |
download | wireguard-linux-0468c5323413c6903e4cbcef841a55e6c5578cd2.tar.xz wireguard-linux-0468c5323413c6903e4cbcef841a55e6c5578cd2.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions