summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-11 04:40:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:02 -0500
commit970f7122d9095aa95e0513793f69994e235cb1e0 (patch)
tree5932fd7c3b4aa1388448973272208039fcbd48d0 /source4/torture/nbench
parent84e00add260ea274ea36e68f2a37efd712e00acd (diff)
downloadsamba-970f7122d9095aa95e0513793f69994e235cb1e0.tar.gz
samba-970f7122d9095aa95e0513793f69994e235cb1e0.tar.bz2
samba-970f7122d9095aa95e0513793f69994e235cb1e0.zip
r15033: expanded the RAW-OPLOCK test to include the different cases where the
client chooses to break to none or break to level II, when offered a level II break from exclusive (This used to be commit 9a35b14422980fb9a8049058fd30e79d19a1e242)
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index 96d763651e..e87a138a8e 100644
--- a/source4/torture/nbench/nbio.c
+++ b/source4/torture/nbench/nbio.c
@@ -182,7 +182,7 @@ static struct smbcli_state *c;
a handler function for oplock break requests
*/
static BOOL oplock_handler(struct smbcli_transport *transport, uint16_t tid,
- uint16_t fnum, BOOL shared, uint8_t level, void *private)
+ uint16_t fnum, uint8_t level, void *private)
{
struct smbcli_tree *tree = private;
return smbcli_oplock_ack(tree, fnum, OPLOCK_BREAK_TO_NONE);