summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-10-28 02:47:06 +0200
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:54 +0100
commit35da5a7edec32935135737608c9d9da24a419bab (patch)
treecdf1f0259506b152731b6113de3b395d4bea5013 /fs/btrfs/extent-io-tree.h
parent3c4f91e23a87a486426db5e481ed315b1b2640f1 (diff)
downloadlinux-35da5a7edec32935135737608c9d9da24a419bab.tar.gz
linux-35da5a7edec32935135737608c9d9da24a419bab.tar.bz2
linux-35da5a7edec32935135737608c9d9da24a419bab.zip
btrfs: drop private_data parameter from extent_io_tree_init
All callers except one pass NULL, so the parameter can be dropped and the inode::io_tree initialization can be open coded. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
-rw-r--r--fs/btrfs/extent-io-tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index d73ef24bad2e..0e16642c28a3 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -104,8 +104,7 @@ struct extent_state {
};
void extent_io_tree_init(struct btrfs_fs_info *fs_info,
- struct extent_io_tree *tree, unsigned int owner,
- void *private_data);
+ struct extent_io_tree *tree, unsigned int owner);
void extent_io_tree_release(struct extent_io_tree *tree);
int lock_extent(struct extent_io_tree *tree, u64 start, u64 end,