1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-12 21:58:10 +03:00
Ralph Boehme 72f7086825 smbd: simplify handling of failing fstat() after unlinking file
close_remove_share_mode() already called vfs_stat_fsp(), so we can skip the
fstat() triggered in fd_close() by fsp->fsp_flags.fstat_before_close being true.

This avoids getting an EACCESS error when doing an fstat() on the removed file
which seems to happen with some FUSE filesystems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15527

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6e6324cff29089a636823786183222a73fe7cb28)
2024-03-27 14:24:13 +00:00
..
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-11-15 05:10:35 +00:00
2023-11-01 18:55:32 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-11-01 18:55:32 +00:00
2023-11-20 15:37:33 +00:00
2023-07-19 09:58:37 +00:00
2022-04-07 17:37:29 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-10-25 22:23:37 +00:00
2023-10-25 22:23:37 +00:00
2022-08-04 20:44:32 +00:00
2023-11-21 17:34:36 +00:00