mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-19 17:43:17 +00:00
Fix subvolume handling
This commit is contained in:
parent
9b4cb862f8
commit
93e0c7a7c2
@ -702,13 +702,14 @@ find_path (struct grub_btrfs_data *data,
|
||||
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||
"symlinks not supported");
|
||||
}
|
||||
|
||||
|
||||
switch (cdirel->key.type)
|
||||
{
|
||||
case GRUB_BTRFS_ITEM_TYPE_ROOT_ITEM:
|
||||
{
|
||||
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);
|
||||
if (err)
|
||||
return err;
|
||||
|
Loading…
Reference in New Issue
Block a user