From 1c9b58256aeda3dcdbaa7003f370ddffeecbf132 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Wed, 3 Jan 2018 15:13:03 +0800 Subject: [PATCH] btrfs-progs: volumes: Make find_free_dev_extent_start static The function is not used by anyone else outside of volumes.c, make it static. Signed-off-by: Qu Wenruo Reviewed-by: Nikolay Borisov Reviewed-by: Su Yue Signed-off-by: David Sterba --- volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volumes.c b/volumes.c index 2e1fb4a..1fda594 100644 --- a/volumes.c +++ b/volumes.c @@ -450,7 +450,7 @@ out: return ret; } -int find_free_dev_extent(struct btrfs_trans_handle *trans, +static int find_free_dev_extent(struct btrfs_trans_handle *trans, struct btrfs_device *device, u64 num_bytes, u64 *start) { -- 2.7.4