mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
initialise the type of search for root
This commit is contained in:
1 parent
ac5dcabe67
commit
1f60e35331
1 file changed
+2
@@ -622,6 +622,8 @@ find_path (struct grub_btrfs_data *data,
|
|||||||
*type = GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY;
|
*type = GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY;
|
||||||
*tree = data->sblock.root_tree;
|
*tree = data->sblock.root_tree;
|
||||||
key->object_id = data->sblock.root_dir_objectid;
|
key->object_id = data->sblock.root_dir_objectid;
|
||||||
|
key->type = GRUB_BTRFS_ITEM_TYPE_DIR_ITEM;
|
||||||
|
key->offset = 0;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user