aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_priv.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-09-08 18:03:30 -0400
committerAnton Altaparmakov <aia21@cantab.net>2005-09-08 18:03:30 -0400
commit223176bc722a7bf519904180e956292ae1d1e819 (patch)
tree75b84d09c4b6eed81e537a4e587236f05faa5b7d /fs/xfs/xfs_log_priv.h
parent7d333d6c739a5cd6d60102ea1a9940cbbb0546ec (diff)
parent1b11d78cf87a7014f96e5b7fa2e1233cc8081a00 (diff)
Merge branch 'master' of /usr/src/linux-2.6
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r--fs/xfs/xfs_log_priv.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h
index eb7fdc6ebc32..a884cea82fca 100644
--- a/fs/xfs/xfs_log_priv.h
+++ b/fs/xfs/xfs_log_priv.h
@@ -112,7 +112,7 @@ struct xfs_mount;
112 * this has endian issues, of course. 112 * this has endian issues, of course.
113 */ 113 */
114 114
115#if __BYTE_ORDER == __LITTLE_ENDIAN 115#ifndef XFS_NATIVE_HOST
116#define GET_CLIENT_ID(i,arch) \ 116#define GET_CLIENT_ID(i,arch) \
117 ((i) & 0xff) 117 ((i) & 0xff)
118#else 118#else
@@ -414,14 +414,10 @@ typedef struct xlog_op_header {
414#define XLOG_FMT_IRIX_BE 3 414#define XLOG_FMT_IRIX_BE 3
415 415
416/* our fmt */ 416/* our fmt */
417#if __BYTE_ORDER == __LITTLE_ENDIAN 417#ifdef XFS_NATIVE_HOST
418#define XLOG_FMT XLOG_FMT_LINUX_LE
419#else
420#if __BYTE_ORDER == __BIG_ENDIAN
421#define XLOG_FMT XLOG_FMT_LINUX_BE 418#define XLOG_FMT XLOG_FMT_LINUX_BE
422#else 419#else
423#error unknown byte order 420#define XLOG_FMT XLOG_FMT_LINUX_LE
424#endif
425#endif 421#endif
426 422
427typedef struct xlog_rec_header { 423typedef struct xlog_rec_header {