summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/params.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-08-24 14:51:17 +0300
committerAmir Goldstein <amir73il@gmail.com>2023-10-31 00:12:55 +0200
commitf7621b11e8acc8efa208c9420ff3ecb198b20e29 (patch)
treeae97dcdbcff0a993b0e87b86af7c0984d8d5a87c /fs/overlayfs/params.h
parent389a4a4a19851211bb9c40d31c664591fb206f69 (diff)
downloadlinux-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/overlayfs/params.h')
0 files changed, 0 insertions, 0 deletions