Ok,  here is the patch.

diff -r f89e7971692f disk-io.c
--- a/disk-io.c Mon Oct 15 16:22:39 2007 -0400
+++ b/disk-io.c Wed Oct 17 22:41:40 2007 +0800
@@ -410,6 +410,7 @@ struct btrfs_root *btrfs_read_fs_root_no
        read_extent_buffer(l, &root->root_item,
               btrfs_item_ptr_offset(l, path->slots[0]),
               sizeof(root->root_item));
+       memcpy(&root->root_key, location, sizeof(*location));
        ret = 0;
 out:
        btrfs_release_path(root, path);

_______________________________________________
Btrfs-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/btrfs-devel

Reply via email to