Commit dec0cf88 authored by Ganesh Mahendran's avatar Ganesh Mahendran Committed by Greg Hackmann
Browse files

UPSTREAM: zram: free meta table in zram_meta_free



(cherry-pick from commit 1fec1172)

zram_meta_alloc() and zram_meta_free() are a pair.  In
zram_meta_alloc(), meta table is allocated.  So it it better to free it
in zram_meta_free().

Bug: 25951511

Change-Id: Id9b9f2b634412cd4ab76d550a5224dbbf1b328d1
Signed-off-by: default avatarGanesh Mahendran <opensource.ganesh@gmail.com>
Acked-by: default avatarMinchan Kim <minchan@kernel.org>
Acked-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0675acca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment