]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/compressor/Compressor.cc
update sources to v12.1.2
[ceph.git] / ceph / src / compressor / Compressor.cc
index a1ed5e928f9a48b7be4ab295a4f133cac0a9884c..e07fc8dde94a9bb14bc60a93890f37fb014fc7b4 100644 (file)
@@ -41,7 +41,7 @@ boost::optional<Compressor::CompressionAlgorithm> Compressor::get_comp_alg_type(
     return COMP_ALG_ZSTD;
   if (s == "lz4")
     return COMP_ALG_LZ4;
-  if (s == "")
+  if (s == "" || s == "none")
     return COMP_ALG_NONE;
 
   return boost::optional<CompressionAlgorithm>();