aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2014-03-03 15:38:34 -0800
committerLinus Torvalds <[email protected]>2014-03-04 07:55:49 -0800
commitdb5d711e2db776f18219b033e5dc4fb7e4264dd7 (patch)
tree72ec07e68fc23f32d7a30ced01ab4c6ee13384c0 /lib/memory-notifier-error-inject.c
parenta5f6ea29f9a918403629f8369ae55fac6b09cb53 (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 <[email protected]> Acked-by: Jerome Marchand <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions