diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 12:14:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:30 +0200 |
commit | bcdc428cfe7dda315ad128cbe06abe72add2c73f (patch) | |
tree | 6e66018cc403127b5a780e46ac96976e04fbd367 /fs/btrfs/ctree.h | |
parent | 8f881e8c1880fb7029e74ccdaa7891bd042b6c63 (diff) | |
download | linux-bcdc428cfe7dda315ad128cbe06abe72add2c73f.tar.gz linux-bcdc428cfe7dda315ad128cbe06abe72add2c73f.tar.bz2 linux-bcdc428cfe7dda315ad128cbe06abe72add2c73f.zip |
btrfs: get fs_info from eb in btrfs_exclude_logged_extents
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/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 7fabe4fd0800..1ec08bb1c2e0 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2708,8 +2708,7 @@ int btrfs_pin_extent(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num, int reserved); int btrfs_pin_extent_for_log_replay(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes); -int btrfs_exclude_logged_extents(struct btrfs_fs_info *fs_info, - struct extent_buffer *eb); +int btrfs_exclude_logged_extents(struct extent_buffer *eb); int btrfs_cross_ref_exist(struct btrfs_root *root, u64 objectid, u64 offset, u64 bytenr); struct btrfs_block_group_cache *btrfs_lookup_block_group( |