summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-15 16:27:37 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:41:10 +0200
commitc79a70b1330b374d6f4d88f266552054a4b58d08 (patch)
treec86e49d37edd3ef47ddc5af21d0f1dbe7967792c /fs/btrfs/ctree.h
parentbtrfs: Remove unused flush var in shrink_delalloc (diff)
downloadlinux-c79a70b1330b374d6f4d88f266552054a4b58d08.tar.xz
linux-c79a70b1330b374d6f4d88f266552054a4b58d08.zip
btrfs: drop fs_info parameter from btrfs_run_delayed_refs
It's provided by the transaction handle. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 50c068fd3b38..b0573cdb4d20 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2623,7 +2623,7 @@ void btrfs_dec_nocow_writers(struct btrfs_fs_info *fs_info, u64 bytenr);
void btrfs_wait_nocow_writers(struct btrfs_block_group_cache *bg);
void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
- struct btrfs_fs_info *fs_info, unsigned long count);
+ unsigned long count);
int btrfs_async_run_delayed_refs(struct btrfs_fs_info *fs_info,
unsigned long count, u64 transid, int wait);
int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len);