From: Christoph Hellwig Date: Fri, 10 Jun 2005 16:14:17 +0000 (+0000) Subject: fix endianess cleanups fallout in xfstests X-Git-Tag: v1.1.0~714 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=31af49388a7527f684db0f2794583b412676fe54;p=users%2Fhch%2Fxfstests-dev.git fix endianess cleanups fallout in xfstests --- diff --git a/src/loggen.c b/src/loggen.c index ca3c1ac9a..7b2a34bcf 100644 --- a/src/loggen.c +++ b/src/loggen.c @@ -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(); }