On Tue, 22 Aug 2023 at 15:22, Amir Goldstein <amir73il@xxxxxxxxx> wrote: > IDK, ovl_copyattr() looks like a textbook example of a race > if not protected by something because it reads a bunch of stuff > from realinode and then writes a bunch of stuff to inode. Yeah, you are right. > Anyway, I guess it wouldn't hurt to wrap it with inode_lock() > in the ovl completion callback. Okay. Thanks, Miklos