[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Jul 13 13:54:04 MDT 2012


The branch, master has been updated
       via  27e20d5 s3: Make us survive smb2.lock.rw-shared with aio enabled
      from  10b818b s3-auth_samba4: Explain that check_samba4_security is actually unused

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


- Log -----------------------------------------------------------------
commit 27e20d5d60ea8aa526bcb7c2dfc18dd2de0bb97b
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Jul 13 08:38:07 2012 +0200

    s3: Make us survive smb2.lock.rw-shared with aio enabled
    
    schedule_aio_smb2_write can return NT_STATUS_FILE_LOCK_CONFLICT.
    This is a valid error code that smb2.lock.rw-shared expects and
    checks for. The code before this patch maps this to NT_STATUS_FILE_CLOSED,
    masking the real, correct error message.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Fri Jul 13 21:53:51 CEST 2012 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c
index 8ddd8cc..6a78939 100644
--- a/source3/smbd/smb2_write.c
+++ b/source3/smbd/smb2_write.c
@@ -318,7 +318,7 @@ static struct tevent_req *smbd_smb2_write_send(TALLOC_CTX *mem_ctx,
 
 	if (!NT_STATUS_EQUAL(status, NT_STATUS_RETRY)) {
 		/* Real error in setting up aio. Fail. */
-		tevent_req_nterror(req, NT_STATUS_FILE_CLOSED);
+		tevent_req_nterror(req, status);
 		return tevent_req_post(req, ev);
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list