]> 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)
commit37417f3f2a34c1ad22e6cf4566ce90a772f1a487
treea0c53abc4e4e65e87db9074460a8ca8de6eef700
parent9ea0fccfa0d4096723c4af016a6edae2c6476fa9
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