diff --git a/trunk/ceph/client/SyntheticClient.cc b/trunk/ceph/client/SyntheticClient.cc index ba9018bbf70..6f0ad60dc88 100644 --- a/trunk/ceph/client/SyntheticClient.cc +++ b/trunk/ceph/client/SyntheticClient.cc @@ -707,6 +707,8 @@ int SyntheticClient::clean_dir(string& basedir) for (map::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;