Commit d4e1a4e0db439209672f9803f9f23b0123fb09aa

Authored by John Spray
Committed by Ilya Dryomov
1 parent 33d0733796

libceph: update ceph_msg_header structure

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>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

include/linux/ceph/msgr.h
... ... @@ -152,7 +152,8 @@
152 152 receiver: mask against ~PAGE_MASK */
153 153  
154 154 struct ceph_entity_name src;
155   - __le32 reserved;
  155 + __le16 compat_version;
  156 + __le16 reserved;
156 157 __le32 crc; /* header crc32c */
157 158 } __attribute__ ((packed));
158 159