]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef5e42b8d41dc9b750733c0bde53c160d5ac04b0
tree49114c675e417cdf53e6a03ea7b957542e9ca88a
parent1b6ffba8c36a745a1227c283e396381555b07e77
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