git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: smbd: Remove one more use of lp_posix_pathnames().
[obnox/samba/samba-obnox.git]
/
source3
/
smbd
/
dir.c
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))
{