From f1cf408412c834ab3bd7d7bf896303d8a1aaf48e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 9 Apr 2019 09:31:24 -0500 Subject: [PATCH] msg/async/frames_v2.h: fix warning Signed-off-by: Sage Weil --- src/msg/async/frames_v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3