btrfs: make the fs root init functions static
Now that the orphan cleanup stuff doesn't use this directly we can just make them static. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:

committed by
David Sterba

parent
3619c94f07
commit
a98db0f304
@@ -1437,7 +1437,7 @@ alloc_fail:
|
||||
goto out;
|
||||
}
|
||||
|
||||
int btrfs_init_fs_root(struct btrfs_root *root)
|
||||
static int btrfs_init_fs_root(struct btrfs_root *root)
|
||||
{
|
||||
int ret;
|
||||
struct btrfs_subvolume_writers *writers;
|
||||
@@ -1488,8 +1488,8 @@ fail:
|
||||
return ret;
|
||||
}
|
||||
|
||||
struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info,
|
||||
u64 root_id)
|
||||
static struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info,
|
||||
u64 root_id)
|
||||
{
|
||||
struct btrfs_root *root;
|
||||
|
||||
|
Reference in New Issue
Block a user