From: Sage Weil Date: Tue, 9 Apr 2019 14:31:24 +0000 (-0500) Subject: msg/async/frames_v2.h: fix warning X-Git-Tag: v15.1.0~2974^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f1cf408412c834ab3bd7d7bf896303d8a1aaf48e;p=ceph.git msg/async/frames_v2.h: fix warning Signed-off-by: Sage Weil --- diff --git a/src/msg/async/frames_v2.h b/src/msg/async/frames_v2.h index 3c92d8cf193c..2abce8ae0dda 100644 --- a/src/msg/async/frames_v2.h +++ b/src/msg/async/frames_v2.h @@ -155,7 +155,7 @@ static uint32_t segment_onwire_size(const uint32_t logical_size) return p2roundup(logical_size, CRYPTO_BLOCK_SIZE); } -static ceph::bufferlist segment_onwire_bufferlist(ceph::bufferlist&& bl) +static inline ceph::bufferlist segment_onwire_bufferlist(ceph::bufferlist&& bl) { const auto padding_size = segment_onwire_size(bl.length()) - bl.length(); if (padding_size) {