summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-01-03 15:13:03 +0800
committerDavid Sterba <dsterba@suse.com>2018-01-31 15:14:02 +0100
commit1c9b58256aeda3dcdbaa7003f370ddffeecbf132 (patch)
tree12ac30f83ba9dea226d5ba87f3bf85d4cb1716ff /volumes.c
parent6b5a5c648bd4e871a68beb9f14a79b61035ebb39 (diff)
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 <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'volumes.c')
-rw-r--r--volumes.c2
1 files changed, 1 insertions, 1 deletions
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)
{