[SCM] Samba Shared Repository - branch master updated

Uri Simchoni uri at samba.org
Mon Oct 24 21:53:03 UTC 2016


The branch, master has been updated
       via  1366385 s3: vfs: streams_depot. Use conn->connectpath not conn->cwd.
      from  92a0a56 vfs:glusterfs: preallocate result for glfs_realpath

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


- Log -----------------------------------------------------------------
commit 1366385d1c3e9ac0556e954864e60e72f6906942
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Oct 21 11:04:02 2016 -0700

    s3: vfs: streams_depot. Use conn->connectpath not conn->cwd.
    
    conn->cwd can change over the life of the connection,
    conn->connectpath remains static.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=12387
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    Reviewed-by: Uri Simchoni <uri at samba.org>
    
    Autobuild-User(master): Uri Simchoni <uri at samba.org>
    Autobuild-Date(master): Mon Oct 24 23:52:48 CEST 2016 on sn-devel-144

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

Summary of changes:
 source3/modules/vfs_streams_depot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c
index d874514..aa54b8d 100644
--- a/source3/modules/vfs_streams_depot.c
+++ b/source3/modules/vfs_streams_depot.c
@@ -130,7 +130,8 @@ static char *stream_dir(vfs_handle_struct *handle,
 	check_valid = lp_parm_bool(SNUM(handle->conn),
 		      "streams_depot", "check_valid", true);
 
-	tmp = talloc_asprintf(talloc_tos(), "%s/.streams", handle->conn->cwd);
+	tmp = talloc_asprintf(talloc_tos(), "%s/.streams",
+		handle->conn->connectpath);
 
 	if (tmp == NULL) {
 		errno = ENOMEM;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list