Skip to content
Commit f7621b11 authored by Amir Goldstein's avatar Amir Goldstein
Browse files

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: default avatarAmir Goldstein <amir73il@gmail.com>
parent 389a4a4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment