From: Sergey Senozhatsky Date: Tue, 30 Oct 2012 19:40:23 +0000 (+0300) Subject: staging: zram: factor-out zram_decompress_page() function X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~770 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b51fdddf64e7ba0971d070428655f8d6f36578;p=pandora-kernel.git staging: zram: factor-out zram_decompress_page() function zram_bvec_read() shared decompress functionality with zram_read_before_write() function. Factor-out and make commonly used zram_decompress_page() function, which also simplified error handling in zram_bvec_read(). Signed-off-by: Sergey Senozhatsky Reviewed-by: Nitin Gupta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed