git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc7022
)
s3: smbd: Remove one more use of lp_posix_pathnames().
author
Jeremy Allison
<jra@samba.org>
Sat, 16 Jan 2016 00:22:26 +0000
(16:22 -0800)
committer
Ralph Boehme
<slow@samba.org>
Sun, 17 Jan 2016 01:07:23 +0000
(
02:07
+0100)
Slowly removing them...
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sun Jan 17 02:07:23 CET 2016 on sn-devel-144
source3/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index a322bb511966348bbf7eb8256bd5c4d6c36eece5..380591521068b088ee0477083cef2ba81f9d3aea 100644
(file)
--- 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))
{