Re: [PATCH v2] partitions: aix: bound the lvd scan to one sector

From: Jens Axboe

Date: Wed Jul 15 2026 - 18:37:22 EST



On Tue, 14 Jul 2026 07:48:06 -0400, Michael Bommarito wrote:
> aix_partition() reads the logical-volume descriptor array as a single
> sector and then scans it:
>
> if (numlvs && (d = read_part_sector(state, vgda_sector + 1, &sect))) {
> struct lvd *p = (struct lvd *)d;
> ...
> for (i = 0; foundlvs < numlvs && i < state->limit; i++) {
> lvip[i].pps_per_lv = be16_to_cpu(p[i].num_lps);
>
> [...]

Applied, thanks!

[1/1] partitions: aix: bound the lvd scan to one sector
commit: d35e236282992e583ed9c1b7ab52e9ef1b873585

Best regards,
--
Jens Axboe