From: liubo Date: Wed, 26 Jan 2011 06:21:39 +0000 (+0000) Subject: btrfs: fix uncheck memory allocation in btrfs_submit_compressed_read X-Git-Tag: v2.6.38-rc4~2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b82ce8d824bd46053e46a895876cde39d9026e4;p=pandora-kernel.git btrfs: fix uncheck memory allocation in btrfs_submit_compressed_read btrfs_submit_compressed_read() is lack of memory allocation checks and corresponding error route. After this fix, if it comes to "no memory" case, errno will be returned to userland step by step, and tell users this operation cannot go on. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed