From: sage Date: Fri, 10 Jun 2005 18:12:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v0.1~2091 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a5642a9c7a659c8a2bef38b8c698b2aec8d30f6a;p=ceph.git *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@290 29311d96-e01e-0410-9327-a35deaab8ce9 --- diff --git a/ceph/client/SyntheticClient.cc b/ceph/client/SyntheticClient.cc index 3af316acd85..5b409f70034 100644 --- a/ceph/client/SyntheticClient.cc +++ b/ceph/client/SyntheticClient.cc @@ -145,8 +145,6 @@ int SyntheticClient::make_dirs(const char *basedir, int dirs, int files, int dep return -1; } - if (depth == 0) return 0; - // children char d[500]; dout(5-depth) << "make_dirs " << basedir << " dirs " << dirs << " files " << files << " depth " << depth << endl; @@ -155,6 +153,8 @@ int SyntheticClient::make_dirs(const char *basedir, int dirs, int files, int dep client->mknod(d, 0644); } + if (depth == 0) return 0; + for (int i=0; i