Re: [PATCH] block: ublk: make sure that block size is set correctly

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

 



On 4/6/23 6:40 AM, Ming Lei wrote:
> block size is one very key setting for block layer, and bad block size
> could panic kernel easily.
> 
> Make sure that block size is set correctly.
> 
> Meantime if ublk_validate_params() fails, clear ub->params so that disk
> is prevented from being added.

Applied, and I added Breno's reported-by to the tags.

-- 
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