jffs2: NULL return of kmem_cache_zalloc should be handled
authorZhouyi Zhou <zhouzhouyi@gmail.com>
Mon, 2 Dec 2013 10:37:05 +0000 (18:37 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:22 +0000 (11:22 -0800)
commit2072552c33c82e7f0c7adfac7965ecf40b739f1a
tree0a41b8eea90ce58e35bc92b94e7af6c544641d8f
parent20171642ed064815fd4372e9e8b1fedff79148f1
jffs2: NULL return of kmem_cache_zalloc should be handled

NULL return of kmem_cache_zalloc should be handled in jffs2_alloc_xattr_datum
and jff2_alloc_xattr_ref.

Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
fs/jffs2/malloc.c