]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: convert quotacheck to attach dquot buffers
authorDarrick J. Wong <djwong@kernel.org>
Fri, 7 Feb 2025 19:28:07 +0000 (11:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Feb 2025 09:05:45 +0000 (10:05 +0100)
commitd331fc154564548b605cde8427442b54c87d7fd3
treeefcc424463e1bc2eeaed8f02dff081ae9ce429c8
parent5808d4206f7c2bc4eb81fefe40c06246e4614467
xfs: convert quotacheck to attach dquot buffers

commit ca378189fdfa890a4f0622f85ee41b710bbac271 upstream

Now that we've converted the dquot logging machinery to attach the dquot
buffer to the li_buf pointer so that the AIL dqflush doesn't have to
allocate or read buffers in a reclaim path, do the same for the
quotacheck code so that the reclaim shrinker dqflush call doesn't have
to do that either.

Cc: <stable@vger.kernel.org> # v6.12
Fixes: 903edea6c53f09 ("mm: warn about illegal __GFP_NOFAIL usage in a more appropriate location and manner")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_qm.c