aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2014-03-03 15:38:34 -0800
committerJiri Slaby <jslaby@suse.cz>2014-03-22 22:01:47 +0100
commitfaf65d4dccfd705ff302e4e7b59fcb454f3b47ce (patch)
tree538f3d3e029a3de539bd7e1ee5636670825c6da4 /mm
parente00feda0d79196595eb0c12cd15b0b9015830190 (diff)
zram: avoid null access when fail to alloc meta
commit db5d711e2db776f18219b033e5dc4fb7e4264dd7 upstream. 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions