Skip to content
Commit db5d711e authored by Minchan Kim's avatar Minchan Kim Committed by Linus Torvalds
Browse files

zram: avoid null access when fail to alloc meta



zram_meta_alloc could fail so caller should check it.  Otherwise, your
system will hang.

Signed-off-by: default avatarMinchan Kim <minchan@kernel.org>
Acked-by: default avatarJerome Marchand <jmarchan@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a5f6ea29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment