diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 09:30:02 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 13:02:30 -0400 |
commit | 6a884d7d527f32b5ea80dc472968a5430ffee9f5 (patch) | |
tree | 145c56829a20df24567a7d85ef51597ef31deadc /fs/btrfs/disk-io.h | |
parent | ed874f0db89724d0af1b4793fb518f640f333b0b (diff) |
btrfs: get fs_info from eb in clean_tree_block
We can read fs_info from extent buffer and can drop it from the
parameters.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index a94ce82a2be0..917634f2bae9 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -51,7 +51,7 @@ int reada_tree_block_flagged(struct btrfs_fs_info *fs_info, u64 bytenr, | |||
51 | struct extent_buffer *btrfs_find_create_tree_block( | 51 | struct extent_buffer *btrfs_find_create_tree_block( |
52 | struct btrfs_fs_info *fs_info, | 52 | struct btrfs_fs_info *fs_info, |
53 | u64 bytenr); | 53 | u64 bytenr); |
54 | void clean_tree_block(struct btrfs_fs_info *fs_info, struct extent_buffer *buf); | 54 | void btrfs_clean_tree_block(struct extent_buffer *buf); |
55 | int open_ctree(struct super_block *sb, | 55 | int open_ctree(struct super_block *sb, |
56 | struct btrfs_fs_devices *fs_devices, | 56 | struct btrfs_fs_devices *fs_devices, |
57 | char *options); | 57 | char *options); |