commit | 37b51fdddf64e7ba0971d070428655f8d6f36578 | [log] [tgz] |
---|---|---|
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | Tue Oct 30 22:40:23 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 31 14:49:09 2012 -0700 |
tree | e43b30fd9195b901df7b0a17cffe82789f0e066d | |
parent | e446f5a8540a845ed92fca4109e67c8f0c76031f [diff] |
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 <sergey.senozhatsky@gmail.com> Reviewed-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>