]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: insert the pag structures into the xarray later
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:18:37 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:27 +0000 (13:38 -0800)
commitd66496578b2a099ea453f56782f1cd2bf63a8029
treef4d87560b81e6a1069080d4cf8756c5dc05c6f7f
parent201c5fa342af75adaf762fd6c63380bb8001762d
xfs: insert the pag structures into the xarray later

Cleaning up is much easier if a structure can't be looked up yet, so only
insert the pag once it is fully set up.

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