Re: [PATCH] btrfs: fix array index in qgroup_auto_inherit()

From: David Sterba
Date: Mon May 06 2024 - 13:45:57 EST


On Sat, May 04, 2024 at 02:38:41PM +0300, Dan Carpenter wrote:
> The "i++" was accidentally left out so it just sets qgids[0] over and
> over.
>
> Fixes: 5343cd9364ea ("btrfs: qgroup: simple quota auto hierarchy for nested subvolumes")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
> >From static analysis. Untested.

A real bug, thanks. Patch added to for-next.