Author: vlendec
Date: 2007-07-30 07:50:24 +0000 (Mon, 30 Jul 2007)
New Revision: 24071

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24071

Log:
Fix a missing END_PROFILE call
Modified:
   branches/SAMBA_3_0_25/source/smbd/reply.c
   branches/SAMBA_3_2/source/smbd/reply.c
   branches/SAMBA_3_2_0/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0_25/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0_25/source/smbd/reply.c   2007-07-29 16:40:45 UTC (rev 
24070)
+++ branches/SAMBA_3_0_25/source/smbd/reply.c   2007-07-30 07:50:24 UTC (rev 
24071)
@@ -2126,6 +2126,7 @@
        status = unlink_internals(conn, dirtype, name, path_contains_wcard,
                                  True);
        if (!NT_STATUS_IS_OK(status)) {
+               END_PROFILE(SMBunlink);
                if (open_was_deferred(SVAL(inbuf,smb_mid))) {
                        /* We have re-scheduled this call. */
                        return -1;

Modified: branches/SAMBA_3_2/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_2/source/smbd/reply.c      2007-07-29 16:40:45 UTC (rev 
24070)
+++ branches/SAMBA_3_2/source/smbd/reply.c      2007-07-30 07:50:24 UTC (rev 
24071)
@@ -2255,6 +2255,7 @@
        status = unlink_internals(conn, &req, dirtype, name,
                                  path_contains_wcard);
        if (!NT_STATUS_IS_OK(status)) {
+               END_PROFILE(SMBunlink);
                if (open_was_deferred(SVAL(inbuf,smb_mid))) {
                        /* We have re-scheduled this call. */
                        return -1;

Modified: branches/SAMBA_3_2_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_2_0/source/smbd/reply.c    2007-07-29 16:40:45 UTC (rev 
24070)
+++ branches/SAMBA_3_2_0/source/smbd/reply.c    2007-07-30 07:50:24 UTC (rev 
24071)
@@ -2175,6 +2175,7 @@
        status = unlink_internals(conn, &req, dirtype, name,
                                  path_contains_wcard);
        if (!NT_STATUS_IS_OK(status)) {
+               END_PROFILE(SMBunlink);
                if (open_was_deferred(SVAL(inbuf,smb_mid))) {
                        /* We have re-scheduled this call. */
                        return -1;

Reply via email to