[0/5] ext4: Fix stale buffer loading from last failed

Message ID 20230310125206.2867822-1-chengzhihao1@huawei.com
Headers
Series ext4: Fix stale buffer loading from last failed |

Message

Zhihao Cheng March 10, 2023, 12:52 p.m. UTC
  Patch 1 fixes reusing stale buffer heads from last failed mounting.
Patch 2~4 reconstructs 'j_format_version' initialization and checking
in loading process.

Zhang Yi (4):
  jbd2: remove unused feature macros
  jbd2: switch to check format version in superblock directly
  jbd2: factor out journal initialization from journal_get_superblock()
  jbd2: remove j_format_version

Zhihao Cheng (1):
  ext4: Fix reusing stale buffer heads from last failed mounting

 fs/ext4/super.c      | 15 +++++------
 fs/jbd2/journal.c    | 59 +++++++++++++++-----------------------------
 include/linux/jbd2.h | 33 +++++++++++--------------
 3 files changed, 42 insertions(+), 65 deletions(-)