Re: [PATCH for-next] block/rnbd-srv: Add sanity check and remove redundant assignment

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

 



On Fri, 09 Aug 2024 15:53:46 +0200, Md Haris Iqbal wrote:
> The bio->bi_iter.bi_size is updated when bio_add_page() is called. So we
> do not need to assign msg->bi_size again to it, since its redudant and
> can also be harmful. Instead we can use it to add a sanity check, which
> checks the locally calculated bi_size, with the one sent in msg.
> 
> 

Applied, thanks!

[1/1] block/rnbd-srv: Add sanity check and remove redundant assignment
      commit: f6f84be089c9d6f5e3e1228c389e51c7ae7bad1a

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