diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 13:42:57 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:41 +0200 |
commit | 4ca75f1bd413ec0c550f925c009a7ba1b20e6003 (patch) | |
tree | cdb92a77321e5fcfedeef45fb7dca7a51d92361d /fs/btrfs/extent-tree.c | |
parent | 907877664e2d858b9344e3a46ceeb2e74425e81f (diff) | |
download | lwn-4ca75f1bd413ec0c550f925c009a7ba1b20e6003.tar.gz lwn-4ca75f1bd413ec0c550f925c009a7ba1b20e6003.zip |
btrfs: get fs_info from trans in create_free_space_inode
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/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 174f4f0311da..931f7d921363 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3411,8 +3411,7 @@ again: if (block_group->ro) goto out_free; - ret = create_free_space_inode(fs_info, trans, block_group, - path); + ret = create_free_space_inode(trans, block_group, path); if (ret) goto out_free; goto again; |