aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-05-04 14:38:41 +0300
committerDavid Sterba <[email protected]>2024-05-07 21:31:11 +0200
commit0e39c9e524479b85c1b83134df0cfc6e3cb5353a (patch)
tree50d66cc4bf741950805fa9014b35192d722224a0 /lib/debugobjects.c
parentbc00965dbff7a8612c8ec0005b3bc943d7196629 (diff)
btrfs: qgroup: fix initialization of auto inherit array
The "i++" was accidentally left out so it just sets qgids[0] over and over. This can lead to unexpected problems, as the groups[1:] would be all 0, leading to later find_qgroup_rb() unable to find a qgroup and cause snapshot creation failure. Fixes: 5343cd9364ea ("btrfs: qgroup: simple quota auto hierarchy for nested subvolumes") CC: [email protected] # 6.7+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions