[XFS] xlog_rec_header/xlog_rec_ext_header endianess annotations
authorChristoph Hellwig <hch@infradead.org>
Fri, 12 Oct 2007 00:59:34 +0000 (10:59 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:11:47 +0000 (18:11 +1100)
commitb53e675dc868c4844ecbcce9149cf68e4299231d
treee49928f2faa73d2f59b80647814835343c9379e5
parent67fcb7bfb69eb1072c7e2dd6b46fa34db11dd587
[XFS] xlog_rec_header/xlog_rec_ext_header endianess annotations

Mostly trivial conversion with one exceptions: h_num_logops was kept in
native endian previously and only converted to big endian in xlog_sync,
but we always keep it big endian now. With todays cpus fast byteswap
instructions that's not an issue but the new variant keeps the code clean
and maintainable.

SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29821a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_log_recover.c