]> 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)
commit8214fb60831b6c3267d3048b384ef23b635b37e0
tree49114c675e417cdf53e6a03ea7b957542e9ca88a
parent8c74a2768858bdb5def5b773600e7e9f188d5d93
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