]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd_wnbd/wnbd_handler.cc
import ceph quincy 17.2.6
[ceph.git] / ceph / src / tools / rbd_wnbd / wnbd_handler.cc
index ecfa47240f2db44186e0d24538f704b5095eaa35..0d13b6297aa35da6cea222f77a6ed0ae24a2d408 100644 (file)
@@ -62,15 +62,18 @@ int WnbdHandler::wait()
   return err;
 }
 
-int WnbdAdminHook::call (std::string_view command, const cmdmap_t& cmdmap,
-     Formatter *f,
-     std::ostream& errss,
-     bufferlist& out) {
-    if (command == "wnbd stats") {
-      return m_handler->dump_stats(f);
-    }
-    return -ENOSYS;
+int WnbdAdminHook::call (
+  std::string_view command, const cmdmap_t& cmdmap,
+  const bufferlist&,
+  Formatter *f,
+  std::ostream& errss,
+  bufferlist& out)
+{
+  if (command == "wnbd stats") {
+    return m_handler->dump_stats(f);
   }
+  return -ENOSYS;
+}
 
 int WnbdHandler::dump_stats(Formatter *f)
 {