summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/osdc/Objecter.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc
index e07d0626d21..8ec1374ec4f 100644
--- a/src/osdc/Objecter.cc
+++ b/src/osdc/Objecter.cc
@@ -2450,6 +2450,7 @@ int Objecter::recalc_command_target(CommandOp *c)
c->session = s;
s->command_ops.push_back(&c->session_item);
} else {
+ c->session = NULL;
num_homeless_ops++;
}
return RECALC_OP_TARGET_NEED_RESEND;