xfs: Use defines for CRC offsets in all cases
authorEric Sandeen <sandeen@redhat.com>
Thu, 27 Feb 2014 04:15:27 +0000 (15:15 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 27 Feb 2014 04:15:27 +0000 (15:15 +1100)
commit533b81c875589ad0a2fc116991534b4601195253
tree8a8098e03198f28d448bf789f36832970e5255e2
parente0d2c23a253149b4f8a6100f94ca62ddc4b2ae84
xfs: Use defines for CRC offsets in all cases

Some calls to crc functions used useful #defines,
others used awkward offsetof() constructs.

Switch them all to #define to make things a bit cleaner.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_ag.h
fs/xfs/xfs_alloc.c
fs/xfs/xfs_dinode.h
fs/xfs/xfs_format.h
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_inode_buf.c
fs/xfs/xfs_sb.c
fs/xfs/xfs_sb.h
fs/xfs/xfs_symlink_remote.c