Skip to content
Commit 20b297d6 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

Btrfs: tree mod log sanity checks in join_transaction



When a fresh transaction begins, the tree mod log must be clean. Users of
the tree modification log must ensure they never span across transaction
boundaries.

We reset the sequence to 0 in this safe situation to make absolutely sure
overflow can't happen.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 19ae4e81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment