btrfs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 16 Jul 2013 03:19:18 +0000 (11:19 +0800)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 11:57:37 +0000 (07:57 -0400)
commit3cae210fa529d69cb25c2a3c491f29dab687b245
tree998853ce555cbabda25eafbc4e8fc9aaa378b693
parent1e7bac1ef754b3112eb78c64a7382d286e454424
btrfs: Cleanup for using BTRFS_SETGET_STACK instead of raw convert

Some codes still use the cpu_to_lexx instead of the
BTRFS_SETGET_STACK_FUNCS declared in ctree.h.

Also added some BTRFS_SETGET_STACK_FUNCS for btrfs_header btrfs_timespec
and other structures.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Miao Xie <miaoxie@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/check-integrity.c
fs/btrfs/ctree.h
fs/btrfs/delayed-inode.c
fs/btrfs/disk-io.c
fs/btrfs/ioctl.c
fs/btrfs/root-tree.c
fs/btrfs/scrub.c
fs/btrfs/transaction.c
fs/btrfs/volumes.c