Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
-#include <errno.h>
+#include "mds/flock.h"
#include "common/debug.h"
#include "mdstypes.h"
-#include "mds/flock.h"
#define dout_subsys ceph_subsys_mds
#ifndef CEPH_MDS_FLOCK_H
#define CEPH_MDS_FLOCK_H
-#include <errno.h>
+#include "include/ceph_fs.h" // for ceph_filelock
+#include "include/types.h" // for client_t
-#include "common/debug.h"
-#include "mdstypes.h"
+#include <cstdint>
+#include <list>
+#include <map>
+#include <ostream>
inline std::ostream& operator<<(std::ostream& out, const ceph_filelock& l) {
out << "start: " << l.start << ", length: " << l.length