summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-01-26 16:00:58 -0500
committerDavid Sterba <dsterba@suse.com>2023-02-15 19:38:53 +0100
commit190a83391bc40862538572d1313c207c348d356d (patch)
tree1525765da1340d66a11221b4b8ddac64649efaee /fs/btrfs/tree-log.c
parentf88fd6504329ca8de0a04b6214e932c46746800d (diff)
btrfs: rename btrfs_clean_tree_block to btrfs_clear_buffer_dirty
btrfs_clean_tree_block is a misnomer, it's just clear_extent_buffer_dirty with some extra accounting around it. Rename this to btrfs_clear_buffer_dirty to make it more clear it belongs with it's setter, btrfs_mark_buffer_dirty. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index a74acb341ef2..0297379f1a70 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -2624,7 +2624,7 @@ static noinline int walk_down_log_tree(struct btrfs_trans_handle *trans,
}
btrfs_tree_lock(next);
- btrfs_clean_tree_block(trans, next);
+ btrfs_clear_buffer_dirty(trans, next);
btrfs_wait_tree_block_writeback(next);
btrfs_tree_unlock(next);
@@ -2693,7 +2693,7 @@ static noinline int walk_up_log_tree(struct btrfs_trans_handle *trans,
next = path->nodes[*level];
btrfs_tree_lock(next);
- btrfs_clean_tree_block(trans, next);
+ btrfs_clear_buffer_dirty(trans, next);
btrfs_wait_tree_block_writeback(next);
btrfs_tree_unlock(next);
@@ -2774,7 +2774,7 @@ static int walk_log_tree(struct btrfs_trans_handle *trans,
next = path->nodes[orig_level];
btrfs_tree_lock(next);
- btrfs_clean_tree_block(trans, next);
+ btrfs_clear_buffer_dirty(trans, next);
btrfs_wait_tree_block_writeback(next);
btrfs_tree_unlock(next);