diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 13:20:49 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:41 +0200 |
commit | 9b7a2440ae51de73bf80e07b0465b9ed736397bd (patch) | |
tree | 511fc0c300a9729d11e82c3fcbcc78a9921e5e47 /fs/btrfs/volumes.c | |
parent | 6b2794084345e55105f8b50ce33c81a9f2b6f7b9 (diff) | |
download | linux-stable-9b7a2440ae51de73bf80e07b0465b9ed736397bd.tar.gz linux-stable-9b7a2440ae51de73bf80e07b0465b9ed736397bd.tar.bz2 linux-stable-9b7a2440ae51de73bf80e07b0465b9ed736397bd.zip |
btrfs: get fs_info from trans in btrfs_create_tree
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/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index c10e389b245f..0a816279a803 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -4620,8 +4620,7 @@ int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) if (IS_ERR(trans)) return PTR_ERR(trans); - uuid_root = btrfs_create_tree(trans, fs_info, - BTRFS_UUID_TREE_OBJECTID); + uuid_root = btrfs_create_tree(trans, BTRFS_UUID_TREE_OBJECTID); if (IS_ERR(uuid_root)) { ret = PTR_ERR(uuid_root); btrfs_abort_transaction(trans, ret); |