From: Yoshinori Sano Date: Tue, 15 Feb 2011 12:01:42 +0000 (+0000) Subject: Btrfs: fix uncheck memory allocations X-Git-Tag: v2.6.39-rc1~19^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dac97e516c617f9c797f64b0224050b70aea30c7;p=pandora-kernel.git Btrfs: fix uncheck memory allocations To make Btrfs code more robust, several return value checks where memory allocation can fail are introduced. I use BUG_ON where I don't know how to handle the error properly, which increases the number of using the notorious BUG_ON, though. Signed-off-by: Yoshinori Sano Signed-off-by: Chris Mason --- Reading git-diff-tree failed