From: Kjetil Aamodt Date: Mon, 9 Sep 2013 13:24:52 +0000 (+0200) Subject: Return from yaffs_internal_read_super if kmalloc fail X-Git-Tag: aleph1-release~44^2~2 X-Git-Url: https://yaffs.net/gitweb/?a=commitdiff_plain;h=e72372f93c862b499f586006cd30a5052fde38f8;hp=e72372f93c862b499f586006cd30a5052fde38f8;p=yaffs2.git Return from yaffs_internal_read_super if kmalloc fail Return if either, or both, of dev and context failed to kmalloc(). kfree() handles NULL as argument so utilise that to simplify code. ---