diff options
author | 2020-11-14 19:19:57 +0100 | |
---|---|---|
committer | 2020-12-01 14:53:39 -0700 | |
commit | c2637e80a09e0d6c698d2771d7230f59c2138122 (patch) | |
tree | 249ad0cdb743770a5d6f87badffec4c0649b3872 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: switch bdgrab to use igrab (diff) | |
download | wireguard-linux-c2637e80a09e0d6c698d2771d7230f59c2138122.tar.xz wireguard-linux-c2637e80a09e0d6c698d2771d7230f59c2138122.zip |
init: refactor name_to_dev_t
Split each case into a self-contained helper, and move the block
dependent code entirely under the pre-existing #ifdef CONFIG_BLOCK.
This allows to remove the blk_lookup_devt stub in genhd.h.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Tejun Heo <tj@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