git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d111b
)
SMB2-PERSISTENT-HANDLES1: close the handle before deleting it
author
Stefan Metzmacher
<metze@samba.org>
Sat, 19 Apr 2008 00:06:44 +0000
(
02:06
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 19 Apr 2008 00:06:44 +0000
(
02:06
+0200)
This means we no longer have a oplock break timing out
for the "delete".
metze
(This used to be commit
50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e
)
source4/torture/smb2/persistent_handles.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/persistent_handles.c
b/source4/torture/smb2/persistent_handles.c
index ace57d881729194de35be50a432322659bd2ba08..249ddd1733e5ff90fe9b9a7cf61d532b243e66f1 100644
(file)
--- a/
source4/torture/smb2/persistent_handles.c
+++ b/
source4/torture/smb2/persistent_handles.c
@@
-174,6
+174,8
@@
bool torture_smb2_persistent_handles1(struct torture_context *tctx,
torture_comment(tctx, "position: %llu\n",
(unsigned long long)pos);
+ smb2_util_close(tree2, h2);
+
talloc_free(mem_ctx);
smb2_util_unlink(tree2, fname);