diff mbox

[1/7] ceph: update ceph_msg_header structure

Message ID 1415111669-26246-2-git-send-email-john.spray@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

John Spray Nov. 4, 2014, 2:34 p.m. UTC
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>
---
 include/linux/ceph/msgr.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/linux/ceph/msgr.h b/include/linux/ceph/msgr.h
index cac4b28..1c18872 100644
--- a/include/linux/ceph/msgr.h
+++ b/include/linux/ceph/msgr.h
@@ -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));