The function is not used by anyone else outside of volumes.c, make it static.
Signed-off-by: Qu Wenruo <w...@suse.com> --- volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volumes.c b/volumes.c index ce3a540578fd..0e50e1d5833e 100644 --- a/volumes.c +++ b/volumes.c @@ -457,7 +457,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.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html