Re: [PATCH] zram: cosmetic zram_bvec_write() cleanup

From: Minchan Kim
Date: Mon May 18 2015 - 10:01:14 EST


On Sun, May 17, 2015 at 09:00:33PM +0900, Sergey Senozhatsky wrote:
> `bool locked' local variable tells us if we should perform
> zcomp_strm_release() or not (jumped to `out' label before
> zcomp_strm_find() occurred), which is equivalent to `zstrm'
> being or not being NULL. remove `locked' and check `zstrm'
> instead.
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>

--
Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/