diff options
author | Josef Bacik <josef@toxicpanda.com> | 2023-01-26 16:00:58 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:53 +0100 |
commit | 190a83391bc40862538572d1313c207c348d356d (patch) | |
tree | 1525765da1340d66a11221b4b8ddac64649efaee /fs/btrfs/ioctl.c | |
parent | f88fd6504329ca8de0a04b6214e932c46746800d (diff) | |
download | linux-190a83391bc40862538572d1313c207c348d356d.tar.gz linux-190a83391bc40862538572d1313c207c348d356d.tar.bz2 linux-190a83391bc40862538572d1313c207c348d356d.zip |
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/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 5fdc09f7f1cb..8ea557e22252 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -707,7 +707,7 @@ static noinline int create_subvol(struct user_namespace *mnt_userns, * exists). */ btrfs_tree_lock(leaf); - btrfs_clean_tree_block(trans, leaf); + btrfs_clear_buffer_dirty(trans, leaf); btrfs_tree_unlock(leaf); btrfs_free_tree_block(trans, objectid, leaf, 0, 1); free_extent_buffer(leaf); |