mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
crimson/osd: adopt PGLSPlainFilter.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
parent
9c01ab59be
commit
edbf82e47f
@ -109,8 +109,7 @@ static inline std::unique_ptr<const PGLSFilter> get_pgls_filter(
|
||||
// storing non-const PGLSFilter for the sake of ::init()
|
||||
std::unique_ptr<PGLSFilter> filter;
|
||||
if (type.compare("plain") == 0) {
|
||||
//filter = std::make_unique<PGLSPlainFilter>();
|
||||
::operation_not_supported();
|
||||
filter = std::make_unique<PGLSPlainFilter>();
|
||||
} else {
|
||||
std::size_t dot = type.find(".");
|
||||
if (dot == type.npos || dot == 0 || dot == type.size() - 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user