From de967f22fc9e5a6f9f95be90e882935761295917 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 29 Oct 2011 14:48:58 +0200 Subject: s4:torture: test also break semantics between batch-oplocks and leases This must have been a typo (listing EXCLUSIVE twice). But BATCH and EXCLUSIVE oplocks apparently share the same break semantics with respect to leases. --- source4/torture/smb2/lease.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/smb2/lease.c b/source4/torture/smb2/lease.c index 564394f31e..3d3f17d08e 100644 --- a/source4/torture/smb2/lease.c +++ b/source4/torture/smb2/lease.c @@ -550,7 +550,7 @@ static inline uint32_t oplock(const char *op) { case 'x': return SMB2_OPLOCK_LEVEL_EXCLUSIVE; case 'b': - return SMB2_OPLOCK_LEVEL_EXCLUSIVE; + return SMB2_OPLOCK_LEVEL_BATCH; default: continue; } -- cgit