[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-992-g6820da4

Stefan Metzmacher metze at samba.org
Mon Feb 25 06:55:48 GMT 2008


The branch, v4-0-test has been updated
       via  6820da44828172769d9fdfa161acf762e3937a88 (commit)
       via  f6ecf59c7555917374fc9e5430034815fd4cd245 (commit)
      from  3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3 (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 6820da44828172769d9fdfa161acf762e3937a88
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Feb 23 11:51:43 2008 +0100

    RAW-OPLOCK: remove unused var

commit f6ecf59c7555917374fc9e5430034815fd4cd245
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Feb 23 11:51:23 2008 +0100

    RAW-OPLOCK: fix typo (send oplock releases on the correct connection)
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/torture/raw/oplock.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/torture/raw/oplock.c b/source/torture/raw/oplock.c
index 952088e..3edd0c6 100644
--- a/source/torture/raw/oplock.c
+++ b/source/torture/raw/oplock.c
@@ -914,7 +914,7 @@ static bool test_raw_oplock_batch10(struct torture_context *tctx, struct smbcli_
 	CHECK_VAL(break_info.failures, 0);
 	CHECK_VAL(io.ntcreatex.out.oplock_level, 0);
 
-	smbcli_oplock_handler(cli2->transport, oplock_handler_ack_to_levelII, cli1->tree);
+	smbcli_oplock_handler(cli2->transport, oplock_handler_ack_to_levelII, cli2->tree);
 
 	io.ntcreatex.in.flags = NTCREATEX_FLAGS_EXTENDED |
 		NTCREATEX_FLAGS_REQUEST_OPLOCK | 
@@ -1058,7 +1058,7 @@ static bool test_raw_oplock_batch12(struct torture_context *tctx, struct smbcli_
 	bool ret = true;
 	union smb_open io;
 	union smb_setfileinfo sfi;
-	uint16_t fnum=0, fnum2=0;
+	uint16_t fnum=0;
 
 	if (!torture_setup_dir(cli1, BASEDIR)) {
 		return false;
@@ -1118,7 +1118,6 @@ static bool test_raw_oplock_batch12(struct torture_context *tctx, struct smbcli_
 	CHECK_VAL(break_info.level, 0);
 
 	smbcli_close(cli1->tree, fnum);
-	smbcli_close(cli2->tree, fnum2);
 
 done:
 	smb_raw_exit(cli1->session);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list