]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: use is_deleting()
authorSage Weil <sage@redhat.com>
Fri, 15 Sep 2017 22:41:09 +0000 (18:41 -0400)
committerSage Weil <sage@redhat.com>
Fri, 6 Oct 2017 18:08:17 +0000 (13:08 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index f51e6b684181fd16458611de5915ee18b6bb0157..f45bd6302936eaa3ff0d1d4476e1bb690f8803c1 100644 (file)
@@ -9985,7 +9985,7 @@ void OSD::ShardedOpWQ::_process(uint32_t thread_index, heartbeat_handle_d *hb)
     sdata->sdata_op_ordering_lock.Unlock();
     return;
   }
-  if (pg && !slot.pg && !pg->deleting) {
+  if (pg && !slot.pg && !pg->is_deleting()) {
     dout(20) << __func__ << " " << item.first << " set pg to " << pg << dendl;
     slot.pg = pg;
   }