diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-11-23 17:41:40 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-12-02 00:53:40 +0300 |
| commit | e6cb53827ed60019bbbc5cf189dd204b3b0e8121 (patch) | |
| tree | e07a1eba916356022d4e426dc3e3051dba7eb4be /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c64dc3bd87097e7f08b9437819440f8bfddef995 (diff) | |
| download | linux-e6cb53827ed60019bbbc5cf189dd204b3b0e8121.tar.xz | |
block: initialize struct block_device in bdev_alloc
Don't play tricks with slab constructors as bdev structures tends to not
get reused very much, and this makes the code a lot less error prone.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
