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
..
2021-01-09 13:46:24 +01:00
2021-05-19 10:12:56 +02:00
2020-09-18 15:17:41 +02:00
2022-08-21 15:15:25 +02:00
2022-11-16 09:57:07 +01:00
2021-05-19 10:12:56 +02:00
2021-01-09 13:46:24 +01:00