Btrfs: kill free_space pointer from inode structure
authorLi Zefan <lizefan@huawei.com>
Tue, 10 Jul 2012 02:21:07 +0000 (20:21 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:28:05 +0000 (16:28 -0400)
commitb4d7c3c9456a311a45bc1ef8944b5ba5b176244f
tree217aeddfbcd502d8b61400cc0d87603f03c836f6
parentd5b025d510664382f9a197f7e7fb9fc60fe209bc
Btrfs: kill free_space pointer from inode structure

Inodes always allocate free space with BTRFS_BLOCK_GROUP_DATA type,
which means every inode has the same BTRFS_I(inode)->free_space pointer.

This shrinks struct btrfs_inode by 4 bytes (or 8 bytes on 64 bits).

Signed-off-by: Li Zefan <lizefan@huawei.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/inode.c