• Andrew Morton's avatar
    [PATCH] ext3: fix memory leak · 508fc350
    Andrew Morton authored
    We need to unconditionally brelse() the buffer in there, because
    journal_remove_journal_head() leaves a ref behind.
    
    release_buffer_page() does that.  Call it all the time because we can usually
    strip the buffers and free the page even if it was not marked buffer_freed().
    
    Mainly affects data=journal mode
    508fc350
commit.c 22.7 KB