]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: lock the xattr block before checksuming it
authorTheodore Ts'o <tytso@mit.edu>
Sat, 25 Mar 2017 21:22:47 +0000 (17:22 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 25 Mar 2017 21:22:47 +0000 (17:22 -0400)
commita1351e0eb69470114fd78da2c78064273e20386c
treea0c53abc4e4e65e87db9074460a8ca8de6eef700
parent1dc35368453f24acf815d66e9081e59d1be5310c
ext4: lock the xattr block before checksuming it

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
fs/ext4/xattr.c