]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: deferred items should call xfs_perag_intent_{get,put}
authorDarrick J. Wong <djwong@kernel.org>
Fri, 16 Jun 2023 01:37:01 +0000 (18:37 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 22 Jun 2023 12:06:39 +0000 (14:06 +0200)
commit4d3226b6ec5af8a114280ac9c745c29235928f13
treeb3961c4d98f5333711bde25b4fd12ecce42447a7
parent47560612f1213c2159bb4bbe4244df4ffef4d1e0
libxfs: deferred items should call xfs_perag_intent_{get,put}

Make the intent item _get_group and _put_group functions call
xfs_perag_intent_{get,put} to match the kernel.  In userspace they're
the same thing so this makes no difference.  However, let's not leave
unnecessary discrepancies.

Fixes: 7cb26322f74 ("xfs: allow queued AG intents to drain before scrubbing")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/defer_item.c