From cff17f0a8ccf697d2836fe5b32b621995a9fc432 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 15 Jan 2016 16:22:26 -0800 Subject: [PATCH] s3: smbd: Remove one more use of lp_posix_pathnames(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Slowly removing them... Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Sun Jan 17 02:07:23 CET 2016 on sn-devel-144 --- source3/smbd/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index a322bb51196..38059152106 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -2036,7 +2036,7 @@ NTSTATUS can_delete_directory_fsp(files_struct *fsp) return status; } - if (!lp_posix_pathnames() && + if (!(fsp->posix_flags & FSP_POSIX_FLAGS_RENAME) && lp_strict_rename(SNUM(conn)) && have_file_open_below(fsp->conn, fsp->fsp_name)) { -- 2.34.1