Even we have btrfs_super_block::log_root_transid, it's never really populated.
This patchset will populate that member and use it to detect corrupted log tree early. Qu Wenruo (2): btrfs: Populate btrfs_super_block::log_root_transid btrfs: Validate btrfs_super_block::log_root_transid fs/btrfs/disk-io.c | 28 ++++++++++++++++++++++------ fs/btrfs/transaction.c | 1 + fs/btrfs/tree-log.c | 2 ++ 3 files changed, 25 insertions(+), 6 deletions(-) -- 2.19.0