summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-io-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-10 00:53:42 +0300
committerDavid Sterba <dsterba@suse.com>2022-09-26 13:28:05 +0300
commit291bbb1e7ea84ef2aba3a5756b9c573d2c572bd7 (patch)
treed14eeaf63f5e52c41f41a33abade04118ab7f798 /fs/btrfs/extent-io-tree.c
parent994bcd1eae5bc6f24a90765b1fb8be471ab56b33 (diff)
downloadlinux-291bbb1e7ea84ef2aba3a5756b9c573d2c572bd7.tar.xz
btrfs: drop extent_changeset from set_extent_bit
The only places that set extent_changeset is set_record_extent_bits, everywhere else sets it to NULL. Drop this argument from set_extent_bit. 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/extent-io-tree.c')
-rw-r--r--fs/btrfs/extent-io-tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent-io-tree.c b/fs/btrfs/extent-io-tree.c
index 21baabe468d0..de5f54c2f543 100644
--- a/fs/btrfs/extent-io-tree.c
+++ b/fs/btrfs/extent-io-tree.c
@@ -1170,11 +1170,10 @@ out:
}
int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
- u32 bits, struct extent_state **cached_state, gfp_t mask,
- struct extent_changeset *changeset)
+ u32 bits, struct extent_state **cached_state, gfp_t mask)
{
return __set_extent_bit(tree, start, end, bits, NULL, cached_state,
- changeset, mask);
+ NULL, mask);
}
/*