Return from yaffs_internal_read_super if kmalloc fail
authorKjetil Aamodt <kjeaamod@cisco.com>
Mon, 9 Sep 2013 13:24:52 +0000 (15:24 +0200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 21 Jan 2014 23:27:28 +0000 (12:27 +1300)
commite72372f93c862b499f586006cd30a5052fde38f8
treea03957249b5f7d235ac1787fb59c180f8d844ed0
parent6014fce5c65757724aef9033f2a710da324f2523
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.
yaffs_vfs_multi.c