diff options
author | Christoph Hellwig <[email protected]> | 2020-11-14 19:19:57 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-12-01 14:53:39 -0700 |
commit | c2637e80a09e0d6c698d2771d7230f59c2138122 (patch) | |
tree | 249ad0cdb743770a5d6f87badffec4c0649b3872 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3a4174e68684e43ecdcb59126a441b29d5e94f7f (diff) |
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 <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions