Whamcloud - gitweb
Move version back to its original location, and put flags at the end.
authoradilger <adilger>
Tue, 29 Oct 2002 07:56:58 +0000 (07:56 +0000)
committeradilger <adilger>
Tue, 29 Oct 2002 07:56:58 +0000 (07:56 +0000)
It is better to have version close to the beginning of the message, so
that it is possible to change fields after it without breaking things.

lustre/include/linux/lustre_idl.h

index cefe7f1..34119dc 100644 (file)
@@ -110,14 +110,14 @@ struct lustre_msg {
         __u64 cookie; /* security token */
         __u32 magic;
         __u32 type;
-        __u32 flags;
+        __u32 version;
         __u32 opc;
         __u64 last_xid;
         __u64 last_committed;
         __u64 transno;
         __u32 status;
         __u32 bufcount;
-        __u32 version;
+        __u32 flags;
         __u32 buflens[0];
 };