Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /branches/smbnetfs-0.3/src/function.c [r108] .. [r109] Maximize Restore

  Switch to side-by-side view

--- a/branches/smbnetfs-0.3/src/function.c
+++ b/branches/smbnetfs-0.3/src/function.c
@@ -1008,7 +1008,7 @@
     }
 
     if (fh->type == FH_SMBNETFS_DIR){
-	getdir(&splice, path, USERPATH | AUTOPATH);
+	getdir(&splice, path, JOINED_TREE);
 
 	st.st_mode = S_IFDIR;
 	if (filler(buf, ".",  &st, 0)) goto error0;
@@ -1060,7 +1060,7 @@
 		SetSmbCtxFlags(fh->smb, SMBCTX_NEEDS_CLEANUP | SMBCTX_DO_NOT_UPDATE);
 		st.st_mode = S_IFDIR;
 
-		mkgroup(path, AUTOPATH);
+		mkgroup(path, SAMBA_TREE);
 
 		if (convert_buffer_size < strlen(path) + 4) break;
 		if ((buf2 = (char*) malloc(convert_buffer_size)) == NULL) break;
@@ -1075,7 +1075,7 @@
 		if (! smb2local(buf2 + 3, dirent->name,
 		    convert_buffer_size - 3)) goto conv_error;
 
-		mklink(buf1, buf2, AUTOPATH);
+		mklink(buf1, buf2, SAMBA_TREE);
 
 	      conv_error:
 		free(buf2);