Thread (30 messages) 30 messages, 4 authors, 2026-09-15

Re: [PATCH v7 07/16] block: improve blkdev_get_zone_info()

flat view

From: Hannes Reinecke <hare@suse.de>
Date: 2026-09-09 09:11:38

On 9/8/26 10:57 AM, Damien Le Moal wrote:
Add a zone state array bound check to ensure that like
disk_zone_get_state(), we never attempt to access the zone state array
beyond its size.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
  block/blk-zoned.c | 12 ++++++++----
  1 file changed, 8 insertions(+), 4 deletions(-)
Reviewed-by: Hannes Reinecke <hare@kernel.org>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help