android_kernel_xiaomi_sm8450/fs/fuse
Miklos Szeredi 17f386e6b7 fuse: always revalidate if exclusive create
commit df8629af293493757beccac2d3168fe5a315636e upstream.

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>
Signed-off-by: Wu Bo <bo.wu@vivo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-12-19 12:27:31 +01:00
..
acl.c fuse: fix bad inode 2021-01-09 13:46:24 +01:00
control.c fuse: Remove the control interface for virtio-fs 2022-08-21 15:16:10 +02:00
cuse.c cuse: prevent clone 2021-05-19 10:12:56 +02:00
dax.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dev.c fuse: fix pipe buffer lifetime for direct_io 2022-03-16 14:16:01 +01:00
dir.c fuse: always revalidate if exclusive create 2022-12-19 12:27:31 +01:00
file.c fuse: lock inode unconditionally in fuse_fallocate() 2022-12-02 17:40:07 +01:00
fuse_i.h fuse: fix pipe buffer lifetime for direct_io 2022-03-16 14:16:01 +01:00
inode.c fuse: limit nsec 2022-08-21 15:15:25 +02:00
Kconfig virtiofs: implement dax read/write operations 2020-09-10 11:39:23 +02:00
Makefile virtiofs: add a mount option to enable dax 2020-09-10 11:39:22 +02:00
readdir.c fuse: fix readdir cache race 2022-11-16 09:57:07 +01:00
virtio_fs.c virtiofs: fix userns 2021-05-19 10:12:56 +02:00
xattr.c fuse: fix bad inode 2021-01-09 13:46:24 +01:00