diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-11-11 17:22:32 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-11-11 17:22:32 +0100 |
commit | df8629af293493757beccac2d3168fe5a315636e (patch) | |
tree | 0b02a0a162331bd10fb7540a8fa099002111aec4 /kernel/ksysfs.c | |
parent | 833c5a42e28beeefa1f9bd476a63fe8050c1e8ca (diff) | |
download | linux-df8629af293493757beccac2d3168fe5a315636e.tar.gz linux-df8629af293493757beccac2d3168fe5a315636e.tar.bz2 linux-df8629af293493757beccac2d3168fe5a315636e.zip |
fuse: always revalidate if exclusive create
Failure to do so may result in EEXIST even if the file only exists in the
cache and not in the filesystem.
The atomic nature of O_EXCL mandates that the cached state should be
ignored and existence verified anew.
Reported-by: Ken Schalk <kschalk@nvidia.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions