diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-08-24 14:51:17 +0300 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2023-10-31 00:12:55 +0200 |
commit | f7621b11e8acc8efa208c9420ff3ecb198b20e29 (patch) | |
tree | ae97dcdbcff0a993b0e87b86af7c0984d8d5a87c /fs/utimes.c | |
parent | 389a4a4a19851211bb9c40d31c664591fb206f69 (diff) | |
download | linux-stable-f7621b11e8acc8efa208c9420ff3ecb198b20e29.tar.gz linux-stable-f7621b11e8acc8efa208c9420ff3ecb198b20e29.tar.bz2 linux-stable-f7621b11e8acc8efa208c9420ff3ecb198b20e29.zip |
ovl: protect copying of realinode attributes to ovl inode
ovl_copyattr() may be called concurrently from aio completion context
without any lock and that could lead to overlay inode attributes getting
permanently out of sync with real inode attributes.
Use ovl inode spinlock to protect ovl_copyattr().
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions