git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d4d62
)
another SMB2-LOCK fix now that we know that the UNLOCK flag is only
author
Andrew Tridgell
<tridge@samba.org>
Thu, 5 Jun 2008 00:52:13 +0000
(17:52 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 5 Jun 2008 00:52:13 +0000
(17:52 -0700)
honoured on the first lock in a set
source/torture/smb2/lock.c
patch
|
blob
|
history
diff --git
a/source/torture/smb2/lock.c
b/source/torture/smb2/lock.c
index 1b08efc0fa4967b74a392e86ad83adae47725bbd..d820983022b35cf01e8f931cf533992ee524abde 100644
(file)
--- a/
source/torture/smb2/lock.c
+++ b/
source/torture/smb2/lock.c
@@
-273,11
+273,7
@@
static bool test_valid_request(struct torture_context *torture, struct smb2_tree
lck.in.lock_count = 1;
el[0].flags = SMB2_LOCK_FLAG_UNLOCK;
status = smb2_lock(tree, &lck);
- if (torture_setting_bool(torture, "windows", false)) {
- CHECK_STATUS(status, NT_STATUS_RANGE_NOT_LOCKED);
- } else {
- CHECK_STATUS(status, NT_STATUS_OK);
- }
+ CHECK_STATUS(status, NT_STATUS_RANGE_NOT_LOCKED);
lck.in.lock_count = 1;
el[0].flags = SMB2_LOCK_FLAG_UNLOCK;