aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 84c4fa503ef5..a03a96650548 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1481,7 +1481,7 @@ struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_root *tree_root,
1481 if (ret == 0) { 1481 if (ret == 0) {
1482 l = path->nodes[0]; 1482 l = path->nodes[0];
1483 slot = path->slots[0]; 1483 slot = path->slots[0];
1484 btrfs_read_root_item(tree_root, l, slot, &root->root_item); 1484 btrfs_read_root_item(l, slot, &root->root_item);
1485 memcpy(&root->root_key, location, sizeof(*location)); 1485 memcpy(&root->root_key, location, sizeof(*location));
1486 } 1486 }
1487 btrfs_free_path(path); 1487 btrfs_free_path(path);