diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2018-02-07 17:55:46 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:32 +0200 |
| commit | 97cb39bb912c8092c5570578f2eb1b2988ac1af8 (patch) | |
| tree | d06a657a741de29f3602a1e48c789b91d65a2580 /fs/btrfs/dev-replace.c | |
| parent | btrfs: Don't pass fs_info to commit_cowonly_roots (diff) | |
| download | linux-97cb39bb912c8092c5570578f2eb1b2988ac1af8.tar.gz linux-97cb39bb912c8092c5570578f2eb1b2988ac1af8.zip | |
btrfs: Remove root argument of cleanup_transaction
The only thing the passed root is used for is:
1. get a reference to the fs_info and to
2. call trace_btrfs_transaction_commit.
We can achieve 1) by simply referring to the fs_info from passed trans
object. As far as 2) is concerned cleanup_transaction is called from
only one place and the 'root' argument passed is the one from the trans
handle. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
