]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
*** empty log message ***
authorsage <sage@29311d96-e01e-0410-9327-a35deaab8ce9>
Wed, 1 Mar 2006 22:20:55 +0000 (22:20 +0000)
committersage <sage@29311d96-e01e-0410-9327-a35deaab8ce9>
Wed, 1 Mar 2006 22:20:55 +0000 (22:20 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@894 29311d96-e01e-0410-9327-a35deaab8ce9

bench/mdtest/mdtest.c

index 514e243301ed009e82f5b3343852670b3247d292..b6c756ef48a3ebc7814b5fc622d610408cf9224f 100644 (file)
@@ -641,7 +641,6 @@ int main(int argc, char **argv) {
         fflush(stdout);
 
         /* display disk usage */
-               mkdir(testdir, DIRMODE);
         sprintf(dfCall, "df %s\n", testdir);
         system(dfCall);
     }
@@ -653,6 +652,7 @@ int main(int argc, char **argv) {
     }
 
     if (testdir != NULL) {
+               mkdir(testdir, DIRMODE);
         if (chdir(testdir) == -1) {
             FAIL("Unable to chdir to test directory");
         }