libceph: update ceph_msg_header structure
authorJohn Spray <john.spray@redhat.com>
Thu, 16 Oct 2014 11:05:34 +0000 (12:05 +0100)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:50 +0000 (20:09 +0300)
2 bytes of what was reserved space is now used by userspace for the
compat_version field.

Signed-off-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
include/linux/ceph/msgr.h

index cac4b28ac1c09dd368df92232ba8e59384340caa..1c1887206ffa928264acbc1cf63aa3b36717b3b9 100644 (file)
@@ -152,7 +152,8 @@ struct ceph_msg_header {
                             receiver: mask against ~PAGE_MASK */
 
        struct ceph_entity_name src;
-       __le32 reserved;
+       __le16 compat_version;
+       __le16 reserved;
        __le32 crc;       /* header crc32c */
 } __attribute__ ((packed));