[RFC 1/7] zram: inlining zram_compress

2017-06-11 Thread Minchan Kim
zram_compress does several things, compress, entry alloc and check limitation. I did for just readbility but it hurts modulization.:( So this patch removes zram_compress functions and inline it in __zram_bvec_write for upcoming patches. Signed-off-by: Minchan Kim ---

[RFC 1/7] zram: inlining zram_compress

2017-06-11 Thread Minchan Kim
zram_compress does several things, compress, entry alloc and check limitation. I did for just readbility but it hurts modulization.:( So this patch removes zram_compress functions and inline it in __zram_bvec_write for upcoming patches. Signed-off-by: Minchan Kim ---