mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
FileStore: skip omap during list_collections
Signed-off-by: Samuel Just <sam.just@dreamhost.com>
This commit is contained in:
parent
92807c21b7
commit
df7c4072ad
@ -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' ||
|
||||
|
Loading…
Reference in New Issue
Block a user