diff options
author | Jeremy Allison <jra@samba.org> | 2011-08-02 16:25:22 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-08-03 03:00:55 +0200 |
commit | 785c65e875a58707dacadd493ec26665467d9259 (patch) | |
tree | 17c9651da403ca8e650757da975d31923ad02248 /source3 | |
parent | 5068a0d14df8cc6f1b4517c64f4356abc6606b58 (diff) | |
download | samba-785c65e875a58707dacadd493ec26665467d9259.tar.gz samba-785c65e875a58707dacadd493ec26665467d9259.tar.bz2 samba-785c65e875a58707dacadd493ec26665467d9259.zip |
We don't need check_name() here. All possible paths to dptr_create()
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
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/dir.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index fc74eea76c..e7c17de1f6 100644 --- 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); } |