From: Filipe David Borba Manana Date: Wed, 27 Nov 2013 16:06:16 +0000 (+0000) Subject: Btrfs: fix max dir item size calculation X-Git-Tag: v3.14-rc1~29^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=878f2d2cb355da2dabbffb2ae51b7541a91ce4e3;p=pandora-kernel.git Btrfs: fix max dir item size calculation We were accounting for sizeof(struct btrfs_item) twice, once in the data_size variable and another time in the if statement below. Signed-off-by: Filipe David Borba Manana Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed