Re: [PATCH] btrfs: reject zero num_stripes in the system chunk array
From: Cheng Yongkang
Date: Sun Nov 01 2026 - 02:16:39 EST
Hi Qu,
Thanks, I've sent v2 with your change:
https://lore.kernel.org/linux-btrfs/20261101071444.1853699-1-teel4res@xxxxxxxxx/
I also need to correct my earlier reply: with the assertion disabled,
the old expression gives 48 bytes for zero stripes, not 16, and
btrfs_check_chunk_valid() runs before the loop advances over the
chunk. So removing the assertion is enough, as you said. Sorry for the
confusion.
Thanks,
Cheng Yongkang