From c25f22562e9e7cfdf193a01f10fe571b748a6d46 Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze@samba.org>
Date: Fri, 10 Aug 2007 10:15:25 +0000
Subject: r24310: we should not call END_PROFILE(SMBntcreateX); twice...

metze
(This used to be commit 7a98e09f2e4d5eff074e2d71dd1ff2f019a4547a)
---
 source3/smbd/nttrans.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 0008747473..61f21406b6 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -729,7 +729,6 @@ void reply_ntcreate_and_X(connection_struct *conn,
 	 */
 	status = resolve_dfspath(conn, req->flags2 & FLAGS2_DFS_PATHNAMES, fname);
 	if (!NT_STATUS_IS_OK(status)) {
-		END_PROFILE(SMBntcreateX);
 		if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) {
 			reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,
 					ERRSRV, ERRbadpath);
-- 
cgit