From: Miao Xie Date: Fri, 18 Feb 2011 09:21:17 +0000 (+0000) Subject: btrfs: fix not enough reserved space X-Git-Tag: v2.6.38~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e6b6465e6efbca3985258996be9c189da96c8bf;p=pandora-kernel.git btrfs: fix not enough reserved space btrfs_link() will insert 3 items(inode ref, dir name item and dir index item) into the b+ tree and update 2 items(its inode, and parent's inode) in the b+ tree. So we should reserve space for these 5 items, not 3 items. Reported-by: Tsutomu Itoh Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed