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/tree-log.c | |
parent | btrfs: get fs_info from eb in leaf_data_end (diff) | |
download | linux-bcdc428cfe7dda315ad128cbe06abe72add2c73f.tar.xz 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/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index a59e98c9fbb9..4cb61cb72c4e 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -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) |