btrfs: Make btrfs_trans_release_metadata private to transaction.c
authorNikolay Borisov <nborisov@suse.com>
Wed, 7 Feb 2018 15:55:37 +0000 (17:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:30 +0000 (15:09 +0200)
commit0e34693f7bb149273b747194b3988801a9ca8c8e
treeb58a6a849006e79d6db53ea6b011babb45b92415
parent15fc1283f631552ffedebd14e4fd5a36438e7d2a
btrfs: Make btrfs_trans_release_metadata private to transaction.c

This function is only ever used in __btrfs_end_transaction and
btrfs_commit_transaction so there is no need to export it via header.
Let's move it closer to where it's used, make it static and remove it
from the header. No functional changes.

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