Re: [PATCH] block/mq-deadline: Fix a bug in deadline_from_pos()

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

 



On Wed, 12 Jul 2023 10:33:43 -0700, Bart Van Assche wrote:
> A bug was introduced in deadline_from_pos() while implementing the
> suggestion to use round_down() in the following code:
> 
> 	pos -= bdev_offset_from_zone_start(rq->q->disk->part0, pos);
> 
> This patch makes deadline_from_pos() use round_down() such that 'pos' is
> rounded down.
> 
> [...]

Applied, thanks!

[1/1] block/mq-deadline: Fix a bug in deadline_from_pos()
      (no commit info)

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