|
@@ -6468,11 +6468,11 @@ int btrfs_read_sys_array(struct btrfs_root *root)
|
|
sb = btrfs_find_create_tree_block(root, BTRFS_SUPER_INFO_OFFSET);
|
|
sb = btrfs_find_create_tree_block(root, BTRFS_SUPER_INFO_OFFSET);
|
|
if (!sb)
|
|
if (!sb)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
- btrfs_set_buffer_uptodate(sb);
|
|
|
|
|
|
+ set_extent_buffer_uptodate(sb);
|
|
btrfs_set_buffer_lockdep_class(root->root_key.objectid, sb, 0);
|
|
btrfs_set_buffer_lockdep_class(root->root_key.objectid, sb, 0);
|
|
/*
|
|
/*
|
|
* The sb extent buffer is artifical and just used to read the system array.
|
|
* The sb extent buffer is artifical and just used to read the system array.
|
|
- * btrfs_set_buffer_uptodate() call does not properly mark all it's
|
|
|
|
|
|
+ * set_extent_buffer_uptodate() call does not properly mark all it's
|
|
* pages up-to-date when the page is larger: extent does not cover the
|
|
* pages up-to-date when the page is larger: extent does not cover the
|
|
* whole page and consequently check_page_uptodate does not find all
|
|
* whole page and consequently check_page_uptodate does not find all
|
|
* the page's extents up-to-date (the hole beyond sb),
|
|
* the page's extents up-to-date (the hole beyond sb),
|