aboutsummaryrefslogtreecommitdiff
path: root/include/linux/cpu.h
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2014-03-03 15:38:34 -0800
committerMister Oyster <oysterized@gmail.com>2016-12-11 12:59:24 +0100
commit1807e61bd01d259452eb7dc7d0b14daef8c2b214 (patch)
tree25aba29059cacc0cae166efa5810bf3781aad2ba /include/linux/cpu.h
parent3191e4ca50f0a9453a21d5d487a5616045366942 (diff)
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: Minchan Kim <minchan@kernel.org> Acked-by: Jerome Marchand <jmarchan@redhat.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cpu.h')
0 files changed, 0 insertions, 0 deletions