summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-05-02 15:05:11 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-05-02 15:05:11 -0400
commit9a73efb7d173ba1be2b98dcac9021802c3112269 (patch)
treedcac53a44c01c69723cd34942458df483d03fcca /volumes.c
parentbacbad41a0caf70651ffb4f44df51ad15235b882 (diff)
Fix compiler warning in volumes.c
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 2d04f643..c94f73c1 100644
--- a/volumes.c
+++ b/volumes.c
@@ -478,7 +478,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;