Re: [PATCH v2 2/3] block: bio: ensure newly added bio flags don't override BVEC_POOL_IDX
From: Hannes Reinecke <hare@suse.de>
Date: 2019-03-22 14:07:07
Also in:
linux-fsdevel
From: Hannes Reinecke <hare@suse.de>
Date: 2019-03-22 14:07:07
Also in:
linux-fsdevel
On 3/22/19 2:13 PM, Johannes Thumshirn wrote:
With the introduction of BIO_ALLOCED we've used up all available bits in bio::bi_flags. Make sure no-one adds a new one and thus overrides the BVEC_POOL_IDX Signed-off-by: Johannes Thumshirn <redacted> --- block/bio.c | 3 +++ include/linux/blk_types.h | 25 ++++++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)