fix endianess cleanups fallout in xfstests
authorChristoph Hellwig <hch@sgi.com>
Fri, 10 Jun 2005 16:14:17 +0000 (16:14 +0000)
committerChristoph Hellwig <hch@sgi.com>
Fri, 10 Jun 2005 16:14:17 +0000 (16:14 +0000)
src/loggen.c

index ca3c1ac9a95861bde72c6c06db5eb05a39478cb8..7b2a34bcf9dc583cf5b065dd1a0986d21f3993aa 100644 (file)
@@ -146,8 +146,7 @@ loggen_unmount(int count)
     INT_SET(head->h_cycle_data[0],  ARCH_CONVERT, 0xb0c0d0d0);
     INT_SET(head->h_fmt,            ARCH_CONVERT, param_fmt);
     
-    ASSIGN_ANY_LSN(head->h_tail_lsn,    
-            param_tail_cycle, param_tail_block, ARCH_CONVERT);
+    ASSIGN_ANY_LSN_DISK(head->h_tail_lsn, param_tail_cycle, param_tail_block);
 
     memcpy(head->h_fs_uuid,  param_uuid, sizeof(uuid_t));
 
@@ -163,8 +162,8 @@ loggen_unmount(int count)
     memcpy(op+1, &magic, sizeof(magic));
     
     while (count--) {
-        ASSIGN_ANY_LSN(head->h_lsn,         
-                param_cycle, param_block++, ARCH_CONVERT);
+        ASSIGN_ANY_LSN_DISK(head->h_lsn,         
+                param_cycle, param_block++);
         
         loggen_write();
     }
@@ -214,8 +213,8 @@ loggen_empty(int count)
     INT_SET(head->h_cycle_data[0],  ARCH_CONVERT, 0xb0c0d0d0);
     INT_SET(head->h_fmt,            ARCH_CONVERT, param_fmt);
     
-    ASSIGN_ANY_LSN(head->h_tail_lsn,    
-            param_tail_cycle, param_tail_block, ARCH_CONVERT);
+    ASSIGN_ANY_LSN_DISK(head->h_tail_lsn,    
+            param_tail_cycle, param_tail_block);
 
     memcpy(head->h_fs_uuid,  param_uuid, sizeof(uuid_t));
 
@@ -265,8 +264,8 @@ loggen_empty(int count)
     INT_SET(op5->oh_res2,           ARCH_CONVERT, 0);
 
     while (count--) {
-        ASSIGN_ANY_LSN(head->h_lsn,         
-                param_cycle, param_block++, ARCH_CONVERT);
+        ASSIGN_ANY_LSN_DISK(head->h_lsn,         
+                param_cycle, param_block++);
         
         loggen_write();
     }