From: Stefan Agner Date: Mon, 1 Jul 2013 18:33:39 +0000 (+0200) Subject: Btrfs: return -1 when lzo compression makes data bigger X-Git-Tag: v3.12-rc1~40^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59516f6017c589e7316418fda6128ba8f829a77f;p=pandora-kernel.git Btrfs: return -1 when lzo compression makes data bigger With this fix the lzo code behaves like the zlib code by returning an error code when compression does not help reduce the size of the file. This is currently not a bug since the compressed size is checked again in the calling method compress_file_range. Signed-off-by: Stefan Agner Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed