]> www.infradead.org Git - users/willy/xarray.git/commit
xfs: use kfree_rcu_mightsleep to free the perag structures
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 04:08:37 +0000 (07:08 +0300)
committerChandan Babu R <chandanbabu@kernel.org>
Tue, 3 Sep 2024 04:37:43 +0000 (10:07 +0530)
commit4ef7c6d39dc72dae983b836c8b2b5de7128c0da3
tree5955697ba468d40dcdf02585d9037a9b3cf74718
parent70045dafdf8d2f4645b68c0922728d719c2f5a9a
xfs: use kfree_rcu_mightsleep to free the perag structures

Using the kfree_rcu_mightsleep is simpler and removes the need for a
rcu_head in the perag structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_ag.h