]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
Btrfs: Compile warning fixup in volume.c
authorChris Mason <chris.mason@oracle.com>
Fri, 2 May 2008 18:43:15 +0000 (14:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:02 +0000 (11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c

index 6d8dd4438c76ca388109d5b83ebc6018a6f21c8b..b38187573108e4263c02552c62746a790a2308a3 100644 (file)
@@ -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;