summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-01-11 14:46:44 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:21 +0100
commitd2560ebd231e1f8f6f125d1721cf14bc8d5422b3 (patch)
treef1391121a963fabdc91b411b826716a734669deb /fs/btrfs
parentbtrfs: cleanup btrfs_free_stale_device() usage (diff)
downloadlinux-d2560ebd231e1f8f6f125d1721cf14bc8d5422b3.tar.xz
linux-d2560ebd231e1f8f6f125d1721cf14bc8d5422b3.zip
btrfs: Make btrfs_inode_rsv_release static
It's not used outside of extent-tree so there is no reason to not be static. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 8d51e4bb67c1..05751a677da4 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -5773,7 +5773,7 @@ static int btrfs_inode_rsv_refill(struct btrfs_inode *inode,
* This is the same as btrfs_block_rsv_release, except that it handles the
* tracepoint for the reservation.
*/
-void btrfs_inode_rsv_release(struct btrfs_inode *inode)
+static void btrfs_inode_rsv_release(struct btrfs_inode *inode)
{
struct btrfs_fs_info *fs_info = inode->root->fs_info;
struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv;