summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 4252e89df6ae..d92462fe66c8 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1414,7 +1414,7 @@ static inline int should_cow_block(struct btrfs_trans_handle *trans,
1414 * 1414 *
1415 * What is forced COW: 1415 * What is forced COW:
1416 * when we create snapshot during committing the transaction, 1416 * when we create snapshot during committing the transaction,
1417 * after we've finished coping src root, we must COW the shared 1417 * after we've finished copying src root, we must COW the shared
1418 * block to ensure the metadata consistency. 1418 * block to ensure the metadata consistency.
1419 */ 1419 */
1420 if (btrfs_header_generation(buf) == trans->transid && 1420 if (btrfs_header_generation(buf) == trans->transid &&
@@ -3771,7 +3771,7 @@ static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root
3771 /* Key greater than all keys in the leaf, right neighbor has 3771 /* Key greater than all keys in the leaf, right neighbor has
3772 * enough room for it and we're not emptying our leaf to delete 3772 * enough room for it and we're not emptying our leaf to delete
3773 * it, therefore use right neighbor to insert the new item and 3773 * it, therefore use right neighbor to insert the new item and
3774 * no need to touch/dirty our left leaft. */ 3774 * no need to touch/dirty our left leaf. */
3775 btrfs_tree_unlock(left); 3775 btrfs_tree_unlock(left);
3776 free_extent_buffer(left); 3776 free_extent_buffer(left);
3777 path->nodes[0] = right; 3777 path->nodes[0] = right;