From: liubo Date: Wed, 26 Jan 2011 06:22:08 +0000 (+0000) Subject: btrfs: fix several uncheck memory allocations X-Git-Tag: v2.6.38-rc4~2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a29edc6b60a5248ccab588e7ba7dad38cef0235;p=pandora-kernel.git btrfs: fix several uncheck memory allocations To make btrfs more stable, add several missing necessary memory allocation checks, and when no memory, return proper errno. We've checked that some of those -ENOMEM errors will be returned to userspace, and some will be catched by BUG_ON() in the upper callers, and none will be ignored silently. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed