diff options
| author | 2026-09-08 17:57:36 +0900 | |
|---|---|---|
| committer | 2026-09-15 06:53:06 -0600 | |
| commit | aac1472513a922b9b36e564111e8902c18cf8dce (patch) | |
| tree | 99f01bb4709f79ec69715ee37c08f441bca951eb /scripts/Makefile.thinlto | |
| parent | block: refactor bdev_zone_is_seq() (diff) | |
block: improve blkdev_get_zone_info()
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260908085745.1082697-8-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
