Hi Bruce,

This patch is to fix a missed put_mtd_device and potential memory fix for yaffs
based on standard/base.

Cheers,
Zumeng

commit d9b0a935f7a778a85b029f3d6c187d40fe2b9c39
Author: Zumeng Chen <zumeng.c...@windriver.com>
Date:   Fri Apr 28 10:44:41 2017 +0800

    yaffs: fix potential memory leakage and codes redundant
    
    put_mtd_device is match to get_mtd_device to decount users, and also fix
    the potential memory leakage when failure happens.
    
    Signed-off-by: Zumeng Chen <zumeng.c...@windriver.com>


Remaining Changes (diffstat):
-----------------------------
 fs/yaffs2/yaffs_vfs.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)



-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to