On Wed, 28 Sept 2022 at 14:20, Jiachen Zhang <zhangjiachen.jaycee@xxxxxxxxxxxxx> wrote: > > The previous commit df8629af2934 ("fuse: always revalidate if exclusive > create") ensures that the dentries are revalidated on O_EXCL creates. This > commit complements it by also performing revalidation for rename target > dentries. Otherwise, a rename target file that only exists in kernel dentry > cache but not in the filesystem may result in an EEXIST. "...will result in EEXIST if RENAME_NOREPLACE flag is used." Applied with the above change. Thanks, Miklos