initialise the type of search for root
This commit is contained in:
parent
ac5dcabe67
commit
1f60e35331
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue