summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-12-26 11:44:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:58 -0500
commitc4ccc8f37ec4247a3a27277df14311389040fc25 (patch)
treefce5918ae234af1594f5a3d4cbd58efdfb20e38d
parent44db82065acf46f3c35ac754974c983e168e3975 (diff)
downloadsamba-c4ccc8f37ec4247a3a27277df14311389040fc25.tar.gz
samba-c4ccc8f37ec4247a3a27277df14311389040fc25.tar.bz2
samba-c4ccc8f37ec4247a3a27277df14311389040fc25.zip
r12491: End profile fixes from SATOH Fumiyasu <fumiya@samba.gr.jp>.
Jeremy. (This used to be commit 2187502732e41690bf266f229312bb9c7177cf22)
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/reply.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 91dcc93322..72288e2c24 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1288,7 +1288,6 @@ static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o
if (!NT_STATUS_IS_OK(status) && (NT_STATUS_EQUAL(status,NT_STATUS_ACCESS_DENIED) ||
NT_STATUS_EQUAL(status,NT_STATUS_CANNOT_DELETE))) {
restore_case_semantics(conn, file_attributes);
- END_PROFILE(SMBntcreateX);
return ERROR_NT(status);
}
}
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 063cdf2974..d56e3c1f1c 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -5465,7 +5465,7 @@ int reply_setattrE(connection_struct *conn, char *inbuf,char *outbuf, int size,
outsize = set_message(outbuf,0,0,True);
if(!fsp || (fsp->conn != conn)) {
- END_PROFILE(SMBgetattrE);
+ END_PROFILE(SMBsetattrE);
return ERROR_DOS(ERRDOS,ERRbadfid);
}