summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-25 02:41:19 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-25 02:41:19 +0000
commitf169d83a8b707d6d480c456bf4e4ca7c85dadbae (patch)
treed15e49f471ae8ab463061e95458865b3a893f77c /source4/torture/gentest.c
parent0340fec0c1a01339d459c9505614d69ac6a62e9b (diff)
downloadsamba-f169d83a8b707d6d480c456bf4e4ca7c85dadbae.tar.gz
samba-f169d83a8b707d6d480c456bf4e4ca7c85dadbae.tar.bz2
samba-f169d83a8b707d6d480c456bf4e4ca7c85dadbae.zip
fixed the handling of level II oplocks in samba4, especially when
acting as a cifs redirectory (using the cifs backend) (This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 03a66487fa..32dd763b26 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -736,7 +736,7 @@ static BOOL oplock_handler(struct cli_transport *transport, uint16 tid, uint16 f
if (!do_close) {
printf("oplock ack fnum=%d\n", fnum);
- return cli_oplock_ack(tree, fnum, level == 1? 0x102 : 2);
+ return cli_oplock_ack(tree, fnum, level);
}
printf("oplock close fnum=%d\n", fnum);