summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_data.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2012-07-09 20:22:35 -0600
committerChris Mason <chris.mason@fusionio.com>2012-07-23 16:28:06 -0400
commit18077bb413687f96bd168efcfb2b8778529e3b74 (patch)
tree44adcefcc2177267437826b800800021cc2f4faf /fs/xfs/xfs_dir2_data.c
parent293f7e07405a63975cee4e95a2cfa0c17b34b3aa (diff)
downloadop-kernel-dev-18077bb413687f96bd168efcfb2b8778529e3b74.zip
op-kernel-dev-18077bb413687f96bd168efcfb2b8778529e3b74.tar.gz
Btrfs: rewrite BTRFS_SETGET_FUNCS
BTRFS_SETGET_FUNCS macro is used to generate btrfs_set_foo() and btrfs_foo() functions, which read and write specific fields in the extent buffer. The total number of set/get functions is ~200, but in fact we only need 8 functions: 2 for u8 field, 2 for u16, 2 for u32 and 2 for u64. It results in redunction of ~37K bytes. text data bss dec hex filename 629661 12489 216 642366 9cd3e fs/btrfs/btrfs.o.orig 592637 12489 216 605342 93c9e fs/btrfs/btrfs.o Signed-off-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_data.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud