diff options
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 5accced2858a..5a7e60d7f443 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -410,6 +410,7 @@ struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_fs_info *fs_info, | |||
410 | read_extent_buffer(l, &root->root_item, | 410 | read_extent_buffer(l, &root->root_item, |
411 | btrfs_item_ptr_offset(l, path->slots[0]), | 411 | btrfs_item_ptr_offset(l, path->slots[0]), |
412 | sizeof(root->root_item)); | 412 | sizeof(root->root_item)); |
413 | memcpy(&root->root_key, location, sizeof(*location)); | ||
413 | ret = 0; | 414 | ret = 0; |
414 | out: | 415 | out: |
415 | btrfs_release_path(root, path); | 416 | btrfs_release_path(root, path); |