git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5068a0d
)
We don't need check_name() here. All possible paths to dptr_create()
author
Jeremy Allison
<jra@samba.org>
Tue, 2 Aug 2011 23:25:22 +0000
(16:25 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 3 Aug 2011 01:00:55 +0000
(
03:00
+0200)
have already called check_name.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Aug 3 03:00:55 CEST 2011 on sn-devel-104
source3/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index fc74eea76cdba114828743bd6dc753803eb5170d..e7c17de1f6f7c40039607dec967ce9d47bebca35 100644
(file)
--- a/
source3/smbd/dir.c
+++ b/
source3/smbd/dir.c
@@
-447,10
+447,6
@@
NTSTATUS dptr_create(connection_struct *conn, files_struct *fsp,
if (fsp) {
dir_hnd = OpenDir_fsp(NULL, conn, fsp, wcard, attr);
} else {
- status = check_name(conn,path);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
dir_hnd = OpenDir(NULL, conn, path, wcard, attr);
}