On Fri, May 22, 2020 at 08:18:21PM -0700, Sultan Alsawaf wrote:
From: Theodore Ts'o tytso@mit.edu
commit dac7a4b4b1f664934e8b713f529b629f67db313c upstream.
We must lock the xattr block before calculating or verifying the checksum in order to avoid spurious checksum failures.
https://bugzilla.kernel.org/show_bug.cgi?id=193661
Reported-by: Colin Ian King colin.king@canonical.com Signed-off-by: Theodore Ts'o tytso@mit.edu Cc: stable@vger.kernel.org Signed-off-by: Sultan Alsawaf sultan@kerneltoast.com
Hi,
I've been experiencing spurious ext4 checksum failures on 4.4 because this patch is missing (which is quite painful with panic-on-error enabled). This backport fixes the issue for me. fs/ext4/xattr.c | 66 ++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 34 deletions(-)
Now queued up, thanks.
greg k-h