diff options
author | Minchan Kim <minchan@kernel.org> | 2014-03-03 15:38:34 -0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-05-11 19:34:06 +0800 |
commit | b048aa137fe66b7f19d842a4b145296bbc26caff (patch) | |
tree | f1cd7449daea4259315f42a55f29a7cbe53d9499 /include | |
parent | 3853d83925871721c6ee7b2bc40126183129a3ac (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>
(cherry picked from commit db5d711e2db776f18219b033e5dc4fb7e4264dd7)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions