From: John Spray Date: Sat, 4 Feb 2017 23:31:16 +0000 (+0000) Subject: osdc: cmd arg should be const on Objecter::send_command X-Git-Tag: v12.0.1~93^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7d20cc069c82fac9d7b01f5c820db6901941fb6b;p=ceph.git osdc: cmd arg should be const on Objecter::send_command Signed-off-by: John Spray --- diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 366759acb92c..b00ed2218187 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -2112,7 +2112,7 @@ public: epoch_t op_cancel_writes(int r, int64_t pool=-1); // commands - void osd_command(int osd, vector& cmd, + void osd_command(int osd, const std::vector& cmd, const bufferlist& inbl, ceph_tid_t *ptid, bufferlist *poutbl, string *prs, Context *onfinish) { assert(osd >= 0);