Re: [PATCH] block: bio: ensure newly added bio flags don't override BVEC_POOL_IDX

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

 



On Wed, 2019-04-03 at 11:15 +-0200, Johannes Thumshirn wrote:
+AD4 With the introduction of BIO+AF8-NO+AF8-PAGE+AF8-REF we've used up all available bits
+AD4 in bio::bi+AF8-flags.
+AD4 
+AD4 Convert the defines of the flags to an enum and add a BUILD+AF8-BUG+AF8-ON() call
+AD4 to make sure no-one adds a new one and thus overrides the BVEC+AF8-POOL+AF8-IDX
+AD4 causing crashes.

Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4





[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