btrfs: Remove fs_info argument from btrfs_trans_release_metadata
authorNikolay Borisov <nborisov@suse.com>
Wed, 7 Feb 2018 15:55:39 +0000 (17:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:31 +0000 (15:09 +0200)
commitdc60c525cff11a5e60073cd1f618023b28b64ff1
tree4324534f4d0a7f89044b8a8738cb73b1b01077f6
parentc9b577c01ac91a82fce697c445cfac2bcd8a49f6
btrfs: Remove fs_info argument from btrfs_trans_release_metadata

All current callers of this function just get a reference to the
trans->fs_info member and pass it as the second argument. Collapse this
into the function itself. No functional changes.

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