git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f6ea2
)
zram: avoid null access when fail to alloc meta
author
Minchan Kim
<minchan@kernel.org>
Mon, 3 Mar 2014 23:38:34 +0000
(15:38 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 4 Mar 2014 15:55:49 +0000
(07:55 -0800)
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>
drivers/block/zram/zram_drv.c
patch
|
blob
|
history
diff --cc
drivers/block/zram/zram_drv.c
Simple merge