[PATCH] torture3: Fix bug 10687

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jul 3 00:45:03 MDT 2014


Hi!

Review&push would be appreciated!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 4d122f96a18862f4dfa35b65aceb1e0bb911b20f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Wed, 2 Jul 2014 14:27:52 +0000
Subject: [PATCH] torture3: Fix bug 10687

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/torture/torture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index f5f8f86..eb3958e 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -710,7 +710,7 @@ static bool rw_torture3(struct cli_state *c, char *lockfname)
 		{
 			status = cli_openx(c, lockfname, O_RDONLY, 
 					 DENY_NONE, &fnum);
-			if (!NT_STATUS_IS_OK(status)) {
+			if (NT_STATUS_IS_OK(status)) {
 				break;
 			}
 			smb_msleep(10);
-- 
1.8.1.2



More information about the samba-technical mailing list