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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux