• A
    UBIFS: optimize deletions · de94eb55
    Artem Bityutskiy 提交于
    Every time anything is deleted, UBIFS writes the deletion inode
    node twice - once in 'ubifs_jnl_update()' and the second time in
    'ubifs_jnl_write_inode()'. However, the second write is not needed
    if no commit happened after 'ubifs_jnl_update()'. This patch
    checks that condition and avoids writing the deletion inode for
    the second time.
    Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    de94eb55
journal.c 41.6 KB