diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-06-21 10:40:19 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-06 16:06:57 +0100 |
commit | 5b4aacefb8fbfc996e68b9b083d30f8bc0972449 (patch) | |
tree | cd4f1669a5bf9f8f2896c27f4b0d9d51e8a68e43 /fs/btrfs/free-space-cache.h | |
parent | 515bdc479097ec9d5f389202842345af3162f71c (diff) | |
download | op-kernel-dev-5b4aacefb8fbfc996e68b9b083d30f8bc0972449.zip op-kernel-dev-5b4aacefb8fbfc996e68b9b083d30f8bc0972449.tar.gz |
btrfs: call functions that overwrite their root parameter with fs_info
There are 11 functions that accept a root parameter and immediately
overwrite it. We can pass those an fs_info pointer instead.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.h')
-rw-r--r-- | fs/btrfs/free-space-cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.h b/fs/btrfs/free-space-cache.h index 363fdd9..70e7a7c 100644 --- a/fs/btrfs/free-space-cache.h +++ b/fs/btrfs/free-space-cache.h @@ -72,7 +72,7 @@ int btrfs_wait_cache_io(struct btrfs_root *root, struct btrfs_block_group_cache *block_group, struct btrfs_io_ctl *io_ctl, struct btrfs_path *path, u64 offset); -int btrfs_write_out_cache(struct btrfs_root *root, +int btrfs_write_out_cache(struct btrfs_fs_info *fs_info, struct btrfs_trans_handle *trans, struct btrfs_block_group_cache *block_group, struct btrfs_path *path); |