]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9e147e8ca03004cc8a376c2dd1ef01d03672e06
tree8a8098e03198f28d448bf789f36832970e5255e2
parent3267e4a62905df4791a494bc2e991967ec1a364c
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