dont assume that all smb loadfiles will always use /clients/client* so dont force...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 12 Jan 2010 03:06:05 +0000 (14:06 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 12 Jan 2010 03:06:05 +0000 (14:06 +1100)
smb.c

diff --git a/smb.c b/smb.c
index b731d4f48b63f45b7cbaeadb3ebc63bc62537a80..c50d98ebabeaafe6bc3191d48bd207c777bafc90 100644 (file)
--- a/smb.c
+++ b/smb.c
@@ -391,18 +391,6 @@ static void smb_setup(struct child_struct *child)
                exit(10);
        }
        smbc_set_context(ctx->ctx);
-
-
-       /* create clients and /clients/client? */
-       asprintf(&str, "smb://%s/%s/clients", smb_server, smb_share);
-       smbc_mkdir(str, 0777);
-       free(str);
-       asprintf(&str, "smb://%s/%s/clients/client%d", smb_server, smb_share, child->id);
-       smbc_mkdir(str, 0777);
-       free(str);
-
-
-       asprintf(&smb_share, "%s/clients/client%d", smb_share, child->id);
 }
 
 static void smb_mkdir(struct dbench_op *op)