libceph: fix ceph_eversion encoding
[cascardo/linux.git] / include / linux / ceph / rados.h
index 2f822dc..913c87c 100644 (file)
@@ -114,8 +114,8 @@ struct ceph_object_layout {
  * compound epoch+version, used by storage layer to serialize mutations
  */
 struct ceph_eversion {
-       __le32 epoch;
        __le64 version;
+       __le32 epoch;
 } __attribute__ ((packed));
 
 /*