summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorjiazhenyuan <jiazhenyuan@uniontech.com>2026-06-23 10:41:53 +0800
committerCarlos Maiolino <cem@kernel.org>2026-06-29 09:54:22 +0200
commit7f53bf79bdbac36b644b9fe7a77516baf8de5109 (patch)
tree41568c269493a2c6913743e4065c4e345fd7bf84 /drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git
parent19dc95d4b6cf81e1878a3abd587afc967b75d5ce (diff)
xfs: fix AGFL extent count calculation in xrep_agfl_fill
In xrep_agfl_fill(), the call to xagb_bitmap_set() passes 'agbno - 1' as the length argument. However, xagb_bitmap_set() expects a length (number of blocks), not an end block number. Passing 'agbno - 1' causes used_extents to record an incorrect range. Fix this by calculating the correct length as 'agbno - start', which represents the actual number of blocks filled into the AGFL. Signed-off-by: jiazhenyuan <jiazhenyuan@uniontech.com> Fixes: 014ad53732d2ba ("xfs: use per-AG bitmaps to reap unused AG metadata blocks during repair") Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions