diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-04-11 04:36:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:02 -0500 |
commit | 84e00add260ea274ea36e68f2a37efd712e00acd (patch) | |
tree | a006257a35592531db7256fcf9475f66da03d9ae /source4/torture | |
parent | 3979da11a4685a029bf5b7cbc8ec0c4216e8cf08 (diff) | |
download | samba-84e00add260ea274ea36e68f2a37efd712e00acd.tar.gz samba-84e00add260ea274ea36e68f2a37efd712e00acd.tar.bz2 samba-84e00add260ea274ea36e68f2a37efd712e00acd.zip |
r15032: change BENCH-NBENCH to always break to none, rather than accepting a
levelII break offer from the server.
(This used to be commit 7d7853476e03262133093c69f1f93ee02cc87840)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/nbench/nbio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index ce408bba93..96d763651e 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -181,10 +181,11 @@ 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, uint8_t level, void *private) +static BOOL oplock_handler(struct smbcli_transport *transport, uint16_t tid, + uint16_t fnum, BOOL shared, uint8_t level, void *private) { struct smbcli_tree *tree = private; - return smbcli_oplock_ack(tree, fnum, level); + return smbcli_oplock_ack(tree, fnum, OPLOCK_BREAK_TO_NONE); } void nb_setup(struct smbcli_state *cli, int id) |