diff options
| author | Minchan Kim <minchan@kernel.org> | 2014-03-03 15:38:34 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2016-12-11 12:59:24 +0100 |
| commit | 1807e61bd01d259452eb7dc7d0b14daef8c2b214 (patch) | |
| tree | 25aba29059cacc0cae166efa5810bf3781aad2ba /include/linux/start_kernel.h | |
| parent | 3191e4ca50f0a9453a21d5d487a5616045366942 (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/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
