aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-06-16 21:23:54 +0800
committerJens Axboe <[email protected]>2023-06-16 10:12:25 -0600
commit245165658e1c9f95c0fecfe02b9b1ebd30a1198a (patch)
tree0afb4aef73404f0134af73f0cfcab25953a39e0b /scripts/generate_rust_analyzer.py
parent84bd06c632c6d5279849f5f8ab47d9517d259422 (diff)
blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none
After grabbing q->sysfs_lock, q->elevator may become NULL because of elevator switch. Fix the NULL dereference on q->elevator by checking it with lock. Reported-by: Guangwu Zhang <[email protected]> Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions