crimson/osd: adopt PGLSPlainFilter.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2019-08-12 18:15:53 +02:00
parent 9c01ab59be
commit edbf82e47f

View File

@ -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) {