diff options
author | Minchan Kim <minchan@kernel.org> | 2014-03-03 15:38:34 -0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-22 22:01:47 +0100 |
commit | faf65d4dccfd705ff302e4e7b59fcb454f3b47ce (patch) | |
tree | 538f3d3e029a3de539bd7e1ee5636670825c6da4 /mm | |
parent | e00feda0d79196595eb0c12cd15b0b9015830190 (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