diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 13:40:19 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:45 +0200 |
commit | 7949f3392ed65d19f0f6726e9e32445aa8b707dc (patch) | |
tree | b999fb75ede0735fcee799a3cc102ea6173aa0ed /fs/btrfs/relocation.c | |
parent | fdf08605b95d36c04e90915cc0eb729df324c4bc (diff) | |
download | lwn-7949f3392ed65d19f0f6726e9e32445aa8b707dc.tar.gz lwn-7949f3392ed65d19f0f6726e9e32445aa8b707dc.zip |
btrfs: get fs_info from block group in lookup_free_space_inode
We can read fs_info from the block group cache structure and can drop it
from the parameters.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 2246aa2e30e3..9babbc74d145 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -4299,7 +4299,7 @@ int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start) goto out; } - inode = lookup_free_space_inode(fs_info, rc->block_group, path); + inode = lookup_free_space_inode(rc->block_group, path); btrfs_free_path(path); if (!IS_ERR(inode)) |