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/disk-io.c | |
parent | 9386d8bc58e2088f05d2d49a9b8af626ebbe687b (diff) |
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/disk-io.c')
0 files changed, 0 insertions, 0 deletions