mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
@@ -6601,9 +6601,9 @@ out_lock:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int btrfs_exclude_logged_extents(struct btrfs_fs_info *fs_info,
|
||||
struct extent_buffer *eb)
|
||||
int btrfs_exclude_logged_extents(struct extent_buffer *eb)
|
||||
{
|
||||
struct btrfs_fs_info *fs_info = eb->fs_info;
|
||||
struct btrfs_file_extent_item *item;
|
||||
struct btrfs_key key;
|
||||
int found_type;
|
||||
|
||||
Reference in New Issue
Block a user