From: Qu Wenruo Date: Wed, 3 Jan 2018 07:13:03 +0000 (+0800) Subject: btrfs-progs: volumes: Make find_free_dev_extent_start static X-Git-Tag: upstream/4.16.1~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c9b58256aeda3dcdbaa7003f370ddffeecbf132;p=platform%2Fupstream%2Fbtrfs-progs.git 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 --- 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) {