summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-05-02 18:43:15 (GMT)
committerChris Mason <chris.mason@oracle.com>2008-09-25 15:04:02 (GMT)
commit006a58a25fe8aaa7559be80dcff94d98aee84309 (patch)
tree8c8a9d11eb26683e188eb33020281e4e379a796c /fs/btrfs/volumes.c
parentf2eb0a241f0e5c135d93243b0236cb1f14c305e0 (diff)
downloadlinux-006a58a25fe8aaa7559be80dcff94d98aee84309.tar.xz
Btrfs: Compile warning fixup in volume.c
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 6d8dd44..b381875 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;