From: Chris Mason Date: Fri, 2 May 2008 18:43:15 +0000 (-0400) Subject: Btrfs: Compile warning fixup in volume.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=006a58a25fe8aaa7559be80dcff94d98aee84309;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Btrfs: Compile warning fixup in volume.c Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 6d8dd4438c76..b38187573108 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -547,7 +547,7 @@ int btrfs_add_device(struct btrfs_trans_handle *trans, struct extent_buffer *leaf; struct btrfs_key key; unsigned long ptr; - u64 free_devid; + u64 free_devid = 0; root = root->fs_info->chunk_root;