v1->v2: -Collect RVB from Yi and Jan -remove rename "flags" to "escape" in patch 2/9 -goto new copy_done tag in patch 4/9 -add more comment in patch 5/9 Patch 1 fixes memleak in jbd2_journal_write_metadata_buffer. Patch 2-6 contain some cleanups to jbd2_journal_write_metadata_buffer(). Patch 7-9 contain some cleanups to kjournald2() All tests in "kvm-xfstest smoke" survive. Please let me konw if more tests should be ran. Thanks. Kemeng Shi (9): jbd2: avoid memleak in jbd2_journal_write_metadata_buffer jbd2: remove unused return info from jbd2_journal_write_metadata_buffer jbd2: remove unnedded "need_copy_out" in jbd2_journal_write_metadata_buffer jbd2: jump to new copy_done tag when b_frozen_data is created concurrently jbd2: remove unneeded kmap to do escape in jbd2_journal_write_metadata_buffer jbd2: use bh_in instead of jh2bh(jh_in) to simplify code jbd2: remove dead equality check of j_commit_[sequence/request] in kjournald2 jbd2: remove dead check of JBD2_UNMOUNT in kjournald2 jbd2: remove unnecessary "should_sleep" in kjournald2 fs/jbd2/commit.c | 10 ++++----- fs/jbd2/journal.c | 54 ++++++++++++++++++----------------------------- 2 files changed, 25 insertions(+), 39 deletions(-) -- 2.30.0