Re: [PATCH] zram: clean up duplicated codes in __zram_bvec_write

From: Sergey Senozhatsky
Date: Mon May 29 2017 - 21:33:12 EST


On (05/29/17 09:50), Minchan Kim wrote:
> __zram_bvec_write has some of duplicated logic for zram meta
> data handling of same_page|dedup_page|compressed_page.
> This patch aims to clean it up without behavior change.
>
> Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss