[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Thu Jun 10 19:23:01 UTC 2021


The branch, master has been updated
       via  5c7ba35be48 smbd: remove unneeded code from dos_mode_at_vfs_get_dosmode_done()
      from  eef0f736209 s3:smbd: Remove unnessesary NULL check for req

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


- Log -----------------------------------------------------------------
commit 5c7ba35be483691577eff5a543e3e65ef40b2978
Author: Ralph Boehme <slow at samba.org>
Date:   Thu Jun 10 16:15:25 2021 +0200

    smbd: remove unneeded code from dos_mode_at_vfs_get_dosmode_done()
    
    This is not used anymore since e7a90fd7a173d8e3cd5a2bb163df61758b2b973f.
    
    Signed-off-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Thu Jun 10 19:22:23 UTC 2021 on sn-devel-184

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

Summary of changes:
 source3/smbd/dosmode.c | 11 -----------
 1 file changed, 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index 28724ad75bc..d9ea80c5306 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -838,7 +838,6 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
 		tevent_req_data(req,
 		struct dos_mode_at_state);
 	char *path = NULL;
-	struct smb_filename *smb_path = NULL;
 	struct vfs_aio_state aio_state;
 	NTSTATUS status;
 	bool ok;
@@ -898,16 +897,6 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
 		return;
 	}
 
-	smb_path = synthetic_smb_fname(state,
-				       path,
-				       NULL,
-				       &state->smb_fname->st,
-				       state->smb_fname->twrp,
-				       0);
-	if (tevent_req_nomem(smb_path, req)) {
-		return;
-	}
-
 	state->dosmode = fdos_mode(state->smb_fname->fsp);
 	tevent_req_done(req);
 	return;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list