diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 12:04:08 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:40 +0200 |
commit | 5742d15fa76adfc833642f9c24f7c31c9b1a1646 (patch) | |
tree | ff1d26777d29e45582b740a42e57296fa4080561 /fs/btrfs/transaction.c | |
parent | btrfs: get fs_info from trans in btrfs_setup_space_cache (diff) | |
download | linux-5742d15fa76adfc833642f9c24f7c31c9b1a1646.tar.xz linux-5742d15fa76adfc833642f9c24f7c31c9b1a1646.zip |
btrfs: get fs_info from trans in btrfs_write_dirty_block_groups
We can read fs_info from the transaction and can drop it from the
parameters.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index f233aeb019ec..cc326d964567 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -1132,7 +1132,7 @@ again: } while (!list_empty(dirty_bgs) || !list_empty(io_bgs)) { - ret = btrfs_write_dirty_block_groups(trans, fs_info); + ret = btrfs_write_dirty_block_groups(trans); if (ret) return ret; ret = btrfs_run_delayed_refs(trans, (unsigned long)-1); |