diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-09-09 21:39:03 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-06 16:07:00 +0100 |
commit | 3a45bb207ee2c5548ebf6f5fcc7d249e141f15e8 (patch) | |
tree | a1739986199aebac91eca65c5eed7cbe7ad4fded /fs/btrfs/root-tree.c | |
parent | bf89d38febaadd5b1da60fed54929cbde65fedf9 (diff) | |
download | linux-3a45bb207ee2c5548ebf6f5fcc7d249e141f15e8.tar.bz2 |
btrfs: remove root parameter from transaction commit/end routines
Now we only use the root parameter to print the root objectid in
a tracepoint. We can use the root parameter from the transaction
handle for that. It's also used to join the transaction with
async commits, so we remove the comment that it's just for checking.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r-- | fs/btrfs/root-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 87728ff39622..4c6735491ee0 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c @@ -303,7 +303,7 @@ int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info) } err = btrfs_del_orphan_item(trans, tree_root, root_key.objectid); - btrfs_end_transaction(trans, tree_root); + btrfs_end_transaction(trans); if (err) { btrfs_handle_fs_error(fs_info, err, "Failed to delete root orphan item"); |