Files
linux/fs
Jiachen Zhang c0f5b9920f UPSTREAM: fuse: always revalidate rename target dentry
commit ccc031e26a upstream.

The previous commit df8629af29 ("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 will result in EEXIST if
RENAME_NOREPLACE flag is used.

Change-Id: I3500c168b37469e0fcf5664a3deb4d54e45b926d
Signed-off-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com>
Signed-off-by: Zhang Tianci <zhangtianci.1997@bytedance.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Yang Bo <yb203166@antfin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 7ca973d830)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-05-30 14:31:59 +00:00
..
2023-04-20 12:35:14 +02:00
2023-03-23 08:23:43 +00:00
2023-01-07 11:11:40 +01:00
2022-05-09 16:21:45 -04:00
2022-09-24 07:00:00 +02:00
2023-02-09 13:29:55 +00:00
2022-05-09 16:21:46 -04:00
2022-09-11 20:26:07 -07:00
2023-04-06 14:14:07 +00:00
2023-02-22 12:59:46 +01:00
2022-09-24 07:00:00 +02:00
2022-08-20 11:34:33 -04:00
2023-04-21 20:05:56 +00:00
2023-01-04 11:29:01 +01:00
2022-06-28 13:58:05 -04:00