summaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_calipso.c
diff options
context:
space:
mode:
authorJiachen Zhang <zhangjiachen.jaycee@bytedance.com>2022-09-28 14:19:34 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2022-11-23 09:10:49 +0100
commitccc031e26afe60d2a5a3d93dabd9c978210825fb (patch)
tree6f4d443eace9e45118db8af327f93e8e6c917509 /net/netlabel/netlabel_calipso.c
parentfuse: add "expire only" mode to FUSE_NOTIFY_INVAL_ENTRY (diff)
downloadlinux-ccc031e26afe60d2a5a3d93dabd9c978210825fb.tar.xz
linux-ccc031e26afe60d2a5a3d93dabd9c978210825fb.zip
fuse: always revalidate rename target dentry
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 will result in EEXIST if RENAME_NOREPLACE flag is used. 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>
Diffstat (limited to 'net/netlabel/netlabel_calipso.c')
0 files changed, 0 insertions, 0 deletions