]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: dquot recovery does not validate the recovered dquot
authorDarrick J. Wong <djwong@kernel.org>
Mon, 20 Nov 2023 18:31:44 +0000 (10:31 -0800)
committerChandan Babu R <chandanbabu@kernel.org>
Wed, 22 Nov 2023 18:09:36 +0000 (23:39 +0530)
commit9c235dfc3d3f901fe22acb20f2ab37ff39f2ce02
treed7ebcd1fb9d31728ab0cb1b0e00b653677a3ce78
parented17f7da5f0c8b65b7b5f7c98beb0aadbc0546ee
xfs: dquot recovery does not validate the recovered dquot

When we're recovering ondisk quota records from the log, we need to
validate the recovered buffer contents before writing them to disk.

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