From: Filipe Manana Date: Tue, 25 Feb 2014 14:15:12 +0000 (+0000) Subject: Btrfs: remove unneeded field / smaller extent_map structure X-Git-Tag: v3.15-rc1~96^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbc0e9287d710ce7dce5f8daf667729e83316c45;p=pandora-kernel.git Btrfs: remove unneeded field / smaller extent_map structure We don't need to have an unsigned int field in the extent_map struct to tell us whether the extent map is in the inode's extent_map tree or not. We can use the rb_node struct field and the RB_CLEAR_NODE and RB_EMPTY_NODE macros to achieve the same task. This reduces sizeof(struct extent_map) from 152 bytes to 144 bytes (on a 64 bits system). Signed-off-by: Filipe David Borba Manana Reviewed-by: David Sterba Signed-off-by: Josef Bacik --- Reading git-diff-tree failed