diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-10-19 09:22:03 +0200 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-10-23 15:09:11 +0200 |
commit | 57911b8ba814fae01306376a0d02bc7cdc88dc94 (patch) | |
tree | 785127860e4b9bae2543ecf940cbec80d5de997d /include | |
parent | btrfs: init ref_index to zero in add_inode_ref (diff) | |
download | linux-57911b8ba814fae01306376a0d02bc7cdc88dc94.tar.xz linux-57911b8ba814fae01306376a0d02bc7cdc88dc94.zip |
Btrfs: don't put removals from push_node_left into tree mod log twice
Independant of the check (push_items < src_items) tree_mod_log_eb_copy did
log the removal of the old data entries from the source buffer. Therefore,
we must not call tree_mod_log_eb_move if the check evaluates to true, as
that would log the removal twice, finally resulting in (rewinded) buffers
with wrong values for header_nritems.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions