Fix subvolume handling
This commit is contained in:
parent
9b4cb862f8
commit
93e0c7a7c2
1 changed files with 3 additions and 2 deletions
|
@ -708,7 +708,8 @@ find_path (struct grub_btrfs_data *data,
|
||||||
case GRUB_BTRFS_ITEM_TYPE_ROOT_ITEM:
|
case GRUB_BTRFS_ITEM_TYPE_ROOT_ITEM:
|
||||||
{
|
{
|
||||||
struct grub_btrfs_root_item ri;
|
struct grub_btrfs_root_item ri;
|
||||||
err = lower_bound (data, disk, &cdirel->key, &key_out, *tree,
|
err = lower_bound (data, disk, &cdirel->key, &key_out,
|
||||||
|
data->sblock.root_tree,
|
||||||
&elemaddr, &elemsize, NULL);
|
&elemaddr, &elemsize, NULL);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in a new issue