Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
}));
}
-auto ClientRequest::reply_op_error(Ref<PG>& pg, int err)
+auto ClientRequest::reply_op_error(const Ref<PG>& pg, int err)
{
logger().debug("{}: replying with error {}", *this, err);
auto reply = crimson::make_message<MOSDOpReply>(
private:
template <typename FuncT>
interruptible_future<> with_sequencer(FuncT&& func);
- auto reply_op_error(Ref<PG>& pg, int err);
+ auto reply_op_error(const Ref<PG>& pg, int err);
enum class seq_mode_t {
IN_ORDER,