diff options
author | 2021-04-06 08:22:57 +0200 | |
---|---|---|
committer | 2021-04-08 10:24:36 -0600 | |
commit | 6c4541a8bb94a1cccca55ee53c866eb72bf279cf (patch) | |
tree | b6cf2a625cb966c30449fd60b0cade9f6851ca19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: take bd_mutex around delete_partitions in del_gendisk (diff) | |
download | linux-dev-6c4541a8bb94a1cccca55ee53c866eb72bf279cf.tar.xz linux-dev-6c4541a8bb94a1cccca55ee53c866eb72bf279cf.zip |
block: simplify partition removal
Always look up the first available entry instead of the complicated
stateful traversal.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210406062303.811835-7-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