On 2017-04-27 11:37 PM, Zumeng Chen wrote:
Hi Bruce,

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

Looks good to me. What kernel versions is this for ? I tried
it on 4.10 and it applied, but I'm thinking 4.8+ ?

Bruce


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