aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-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 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,
547 struct extent_buffer *leaf; 547 struct extent_buffer *leaf;
548 struct btrfs_key key; 548 struct btrfs_key key;
549 unsigned long ptr; 549 unsigned long ptr;
550 u64 free_devid; 550 u64 free_devid = 0;
551 551
552 root = root->fs_info->chunk_root; 552 root = root->fs_info->chunk_root;
553 553