Re: [PATCH] blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 16 Jun 2023 21:23:54 +0800, Ming Lei wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none
      commit: 245165658e1c9f95c0fecfe02b9b1ebd30a1198a

Best regards,
-- 
Jens Axboe






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux