diff options
| author | Christoph Hellwig <[email protected]> | 2021-06-16 09:15:46 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-06-16 06:53:50 -0600 |
| commit | 07a719f8fdbe4ae0f825fa1a6d2755a63deb265e (patch) | |
| tree | ab205dd3344456815afcade138d36e139165897b /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | ec06c989bb45acc28c7633703685dd684b1b5d9c (diff) | |
mtd_blkdevs: initialze new->rq in add_mtd_blktrans_dev
Various places expect the request_queue in ->rq. Initialize it to
avoid NULL pointer derefences.
Fixes: 6966bb921def ("mtd_blkdevs: use blk_mq_alloc_disk")
Reported-by: Marek Szyprowski <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions