diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-05-20 15:43:53 +0200 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-05-30 15:17:36 +0200 |
commit | 20b297d620cd1bb94127942bbb3702fb7b1030b2 (patch) | |
tree | 45e1d42c376b168ae55460e2d481f915d6cc8b78 /fs/btrfs/delayed-ref.h | |
parent | Btrfs: fs_info variable for join_transaction (diff) | |
download | linux-20b297d620cd1bb94127942bbb3702fb7b1030b2.tar.xz linux-20b297d620cd1bb94127942bbb3702fb7b1030b2.zip |
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: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/delayed-ref.h')
0 files changed, 0 insertions, 0 deletions