From: Willem Jan Withagen Date: Sat, 19 Sep 2020 21:57:18 +0000 (+0200) Subject: cls: replace __le{32,64} types by their Ceph counterparts X-Git-Tag: v16.1.0~974^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ce478ce5c66afac050ca58fb86fb4d55618582b6;p=ceph.git cls: replace __le{32,64} types by their Ceph counterparts __le* types are not avaialble on FreeBSD, so that is fixed. And replacing __le* with ceph_le* is possible as long as the variables are not using in kernel related parts. Signed-off-by: Willem Jan Withagen --- diff --git a/src/cls/fifo/cls_fifo.cc b/src/cls/fifo/cls_fifo.cc index 4bf0c34e7eb..599970f6df1 100644 --- a/src/cls/fifo/cls_fifo.cc +++ b/src/cls/fifo/cls_fifo.cc @@ -34,12 +34,12 @@ static constexpr auto CLS_FIFO_MAX_PART_HEADER_SIZE = 512; static std::uint32_t part_entry_overhead; struct entry_header_pre { - __le64 magic; - __le64 pre_size; - __le64 header_size; - __le64 data_size; - __le64 index; - __le32 reserved; + ceph_le64 magic; + ceph_le64 pre_size; + ceph_le64 header_size; + ceph_le64 data_size; + ceph_le64 index; + ceph_le32 reserved; } __attribute__ ((packed)); struct entry_header {