summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/lease.c2
1 files changed, 1 insertions, 1 deletions
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;
}