Re: [PATCH 1/2] zram: factor-out zram_decompress_page() function (v3)

2012-10-29 Thread Sergey Senozhatsky
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(). v3: remove debug

Re: [PATCH 1/2] zram: factor-out zram_decompress_page() function (v3)

2012-10-29 Thread Sergey Senozhatsky
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(). v3: remove debug