• David Woodhouse's avatar
    JFFS2: Various fixes for recent RAM use reduction. · d5693464
    David Woodhouse authored
    We recently started trying to merge the jffs2_raw_node_ref structures
    for adjacent obsolete nodes. Fix a bunch of problems in that:
     - Free inode cache structure for a dead inode which is now completely gone.
     - Fix races vs. erase code which also walks the same lists.
     - Fix BUG() when trying to merge with a node which still belongs to an inode.
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    d5693464
nodemgmt.c 31.2 KB