From 923ca75443dfd0ad2fcb92334cd989b3a232aef4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 15 Sep 2017 18:41:09 -0400 Subject: [PATCH] osd: use is_deleting() Signed-off-by: Sage Weil --- src/osd/OSD.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index f51e6b684181..f45bd6302936 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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; } -- 2.47.3