]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0de790c32d68b99ed463edaa25af65e10aaac229
treeb58a6a849006e79d6db53ea6b011babb45b92415
parent2ba89e0adce1dc70b97dd71f860bed51bfba99c4
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