xfs: fix the lock annotation in xfs_extent_busy_update_extent

Name the correct lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
Christoph Hellwig 2026-07-20 11:45:39 +02:00 committed by Carlos Maiolino
parent cf3a01684f
commit 2078c2d6e1

View File

@ -161,8 +161,8 @@ xfs_extent_busy_update_extent(
xfs_agblock_t fbno,
xfs_extlen_t flen,
bool userdata)
__releases(&eb->eb_lock)
__acquires(&eb->eb_lock)
__releases(&xg->xg_busy_extents->eb_lock)
__acquires(&xg->xg_busy_extents->eb_lock)
{
struct xfs_extent_busy_tree *eb = xg->xg_busy_extents;
xfs_agblock_t fend = fbno + flen;