* fixed looping bug with clean_dir (called after trace playback)

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1242 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sageweil 2007-03-15 20:59:21 +00:00
parent 88b0b7d836
commit df0126377f

View File

@ -707,6 +707,8 @@ int SyntheticClient::clean_dir(string& basedir)
for (map<string, inode_t>::iterator it = contents.begin();
it != contents.end();
it++) {
if (it->first == ".") continue;
if (it->first == "..") continue;
string file = basedir + "/" + it->first;
if (time_to_stop()) break;