btrfs: Remove fs_info argument from btrfs_update_commit_device_bytes_used
authorNikolay Borisov <nborisov@suse.com>
Wed, 7 Feb 2018 15:55:49 +0000 (17:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:32 +0000 (15:09 +0200)
commite9b919b1f73f1a363988ae1b9fba66f83a221f2e
tree49114c675e417cdf53e6a03ea7b957542e9ca88a
parent08d50ca32cd0554699b7680fbda97c94f49c73f2
btrfs: Remove fs_info argument from btrfs_update_commit_device_bytes_used

We already pass the btrfs_transaction which references fs_info so no
need to pass the later as an argument. Also use the opportunity to
shorten transaction->trans. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h