]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cls/numops/cls_numops.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / cls / numops / cls_numops.cc
index 30a203ef1e327ba6cb36c47bbaf0f372f75b1627..331eb7dca516c239f225ea23db27177d633764fd 100644 (file)
@@ -1,3 +1,5 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
 /*
  * Ceph - scalable distributed file system
  *
@@ -44,7 +46,7 @@ static int add(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
   try {
     decode(key, iter);
     decode(diff_str, iter);
-  } catch (const buffer::error &err) {
+  } catch (const ceph::buffer::error &err) {
     CLS_LOG(20, "add: invalid decode of input");
     return -EINVAL;
   }
@@ -99,7 +101,7 @@ static int mul(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
   try {
     decode(key, iter);
     decode(diff_str, iter);
-  } catch (const buffer::error &err) {
+  } catch (const ceph::buffer::error &err) {
     CLS_LOG(20, "mul: invalid decode of input");
     return -EINVAL;
   }