Use ceph_le16/32/64 instead of __le16/32/64 (which are no-op outside
of kernel code).
Fixes (partially): https://tracker.ceph.com/issues/41605
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
(cherry picked from commit
4dd426483294a22f2383aedec14e24ab0bc408c8)
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
* compatibility with old crap
*/
struct ceph_mon_subscribe_item_old {
- __le64 unused;
- __le64 have;
+ ceph_le64 unused;
+ ceph_le64 have;
__u8 onetime;
} __attribute__ ((packed));
WRITE_RAW_ENCODER(ceph_mon_subscribe_item_old)