]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/msg/simple/SimpleMessenger.h
update sources to v12.1.0
[ceph.git] / ceph / src / msg / simple / SimpleMessenger.h
index 9c5f43e89ba83e226da20bc3f3177dc89cb659e6..4ddc9767c4c70565e95b725f70d6f2424c3c3e1a 100644 (file)
@@ -25,7 +25,6 @@ using namespace std;
 #include "include/unordered_set.h"
 
 #include "common/Mutex.h"
-#include "include/atomic.h"
 #include "include/Spinlock.h"
 #include "common/Cond.h"
 #include "common/Thread.h"
@@ -322,7 +321,7 @@ private:
     if (p == rank_pipe.end())
       return NULL;
     // see lock cribbing in Pipe::fault()
-    if (p->second->state_closed.read())
+    if (p->second->state_closed)
       return NULL;
     return p->second;
   }