FileStore: skip omap during list_collections

Signed-off-by: Samuel Just <sam.just@dreamhost.com>
This commit is contained in:
Samuel Just 2012-05-29 20:09:20 -07:00 committed by Samuel Just
parent 92807c21b7
commit df7c4072ad

View File

@ -4400,6 +4400,8 @@ int FileStore::list_collections(vector<coll_t>& ls)
}
} else if (de->d_type != DT_DIR) {
continue;
} else if (strcmp(de->d_name, "omap") == 0) {
continue;
}
if (de->d_name[0] == '.' &&
(de->d_name[1] == '\0' ||