zram: avoid double free in function zram_bvec_write()
When doing a patial write and the whole page is filled with zero, zram_bvec_write() will free uncmem twice. Signed-off-by: NJiang Liu <jiang.liu@huawei.com> Acked-by: NMinchan Kim <minchan@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录