diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-19 11:18:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:22:46 -0600 |
commit | 5b26804bb0af5d4e4f3440b484244d478d60f16b (patch) | |
tree | 2f5e5522265d248400b8518b91561fb811223e19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 12a6caf273240ae42842de8cc05feaa86e582d61 (diff) |
md: simplify md_open
Now that devices are on the all_mddevs list until the gendisk is freed,
there can't be any duplicates. Remove the global list lookup and just
grab a reference.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
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