[XFS] xlog_rec_header/xlog_rec_ext_header endianess annotations
[deliverable/linux.git] / fs / xfs / xfs_log.h
index ebbe93f4f97bc7925a458996e2f8c11943223f9a..4cdac048df5e2265c3516ca402fcc547034a3206 100644 (file)
@@ -22,8 +22,9 @@
 
 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32))
 #define BLOCK_LSN(lsn) ((uint)(lsn))
+
 /* this is used in a spot where we might otherwise double-endian-flip */
-#define CYCLE_LSN_DISK(lsn) (((uint *)&(lsn))[0])
+#define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0])
 
 #ifdef __KERNEL__
 /*
This page took 0.027741 seconds and 5 git commands to generate.