[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Feb 10 08:45:02 MST 2012


The branch, master has been updated
       via  f1db715 s3-smb2: Use the correct indicator if a request was deferred
       via  6b87623 s3-smb2: Make sure we have a subreq set
      from  be3e479 selftest: add smb2.rename to testsuite

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f1db71576abd31cff19ac7c3c071c9b3ee30f799
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Feb 10 12:49:28 2012 +0100

    s3-smb2: Use the correct indicator if a request was deferred
    
    Autobuild-User: Volker Lendecke <vl at samba.org>
    Autobuild-Date: Fri Feb 10 16:44:23 CET 2012 on sn-devel-104

commit 6b87623e9dd861479f70fbcfc21ead0aaf244232
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Feb 10 12:48:30 2012 +0100

    s3-smb2: Make sure we have a subreq set

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

Summary of changes:
 source3/smbd/smb2_create.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 5f834cd..c637adb 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -458,6 +458,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
 			return tevent_req_post(req, ev);
 		}
 		state->smb1req = smb1req;
+		smb2req->subreq = req;
 		DEBUG(10,("smbd_smb2_create: name[%s]\n",
 			in_name));
 	} else {
@@ -893,7 +894,7 @@ bool get_deferred_open_message_state_smb2(struct smbd_smb2_request *smb2req,
 	if (!smb2req) {
 		return false;
 	}
-	if (smb2req->subreq == NULL) {
+	if (smb2req->async_te == NULL) {
 		return false;
 	}
 	req = smb2req->subreq;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list