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:
bf86a59
)
s3:smbd: let unix_convert() skip stat() calls for wildcard names
author
Stefan Metzmacher
<metze@samba.org>
Wed, 8 Sep 2010 10:06:03 +0000
(12:06 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 18 Apr 2011 15:59:22 +0000
(17:59 +0200)
metze
source3/smbd/filename.c
patch
|
blob
|
history
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index a69f51a9a94c1a71023d885ae2bc63aae87f1362..7178f82fcef86e1b5e236fc9e4a76d7b44f29486 100644
(file)
--- a/
source3/smbd/filename.c
+++ b/
source3/smbd/filename.c
@@
-390,6
+390,11
@@
NTSTATUS unix_convert(TALLOC_CTX *ctx,
goto fail;
}
+ if (name_has_wildcard) {
+ DEBUG(5,("Wildcard %s\n",start));
+ goto done;
+ }
+
/*
* Check if the name exists up to this point.
*/