#ifndef CEPH_ROTATINGKEYRING_H
#define CEPH_ROTATINGKEYRING_H
-#include "common/Mutex.h"
+#include "common/ceph_mutex.h"
#include "auth/Auth.h"
/*
uint32_t service_id;
RotatingSecrets secrets;
KeyRing *keyring;
- mutable Mutex lock;
+ mutable ceph::mutex lock;
public:
RotatingKeyRing(CephContext *cct_, uint32_t s, KeyRing *kr) :
cct(cct_),
service_id(s),
keyring(kr),
- lock("RotatingKeyRing::lock") {}
+ lock{ceph::make_mutex("RotatingKeyRing::lock")}
+ {}
bool need_new_secrets() const;
bool need_new_secrets(utime_t now) const;