mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +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:
parent
8f881e8c18
commit
bcdc428cfe
3 changed files with 4 additions and 5 deletions
|
@ -315,7 +315,7 @@ static int process_one_buffer(struct btrfs_root *log,
|
|||
|
||||
if (!ret && btrfs_buffer_uptodate(eb, gen, 0)) {
|
||||
if (wc->pin && btrfs_header_level(eb) == 0)
|
||||
ret = btrfs_exclude_logged_extents(fs_info, eb);
|
||||
ret = btrfs_exclude_logged_extents(eb);
|
||||
if (wc->write)
|
||||
btrfs_write_tree_block(eb);
|
||||
if (wc->wait)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue