git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49e440
)
as a special case don't check the status of the create of \clients -
author
Andrew Tridgell
<tridge@samba.org>
Wed, 10 Mar 2004 07:38:47 +0000
(07:38 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 10 Mar 2004 07:38:47 +0000
(07:38 +0000)
there is a race condition in the create
source/torture/nbench/nbio.c
patch
|
blob
|
history
diff --git
a/source/torture/nbench/nbio.c
b/source/torture/nbench/nbio.c
index 8a9c36f1d0df3cd0884ae40070b4dbff86e6233b..d42f7194730e5bf529c402c56e30f9c3bd0924a0 100644
(file)
--- a/
source/torture/nbench/nbio.c
+++ b/
source/torture/nbench/nbio.c
@@
-215,7
+215,9
@@
void nb_createx(const char *fname,
talloc_destroy(mem_ctx);
- check_status("NTCreateX", status, ret);
+ if (strcmp(fname, "\\clients") != 0) {
+ check_status("NTCreateX", status, ret);
+ }
if (!NT_STATUS_IS_OK(ret)) return;