---
 grub-core/disk/lvm.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c
index 0c32c95f9..661280d3d 100644
--- a/grub-core/disk/lvm.c
+++ b/grub-core/disk/lvm.c
@@ -808,7 +808,10 @@ grub_lvm_detect (grub_disk_t disk,
                        }
                    }
                  else if (grub_memcmp (p, "cache\"",
-                                  sizeof ("cache\"") - 1) == 0)
+                                       sizeof ("cache\"") - 1) == 0 ||
+                          grub_memcmp (p, "cache+CACHE_USES_CACHEVOL\"",
+                                       sizeof ("cache+CACHE_USES_CACHEVOL\"")
+                                       - 1) == 0)
                    {
                      struct cache_lv *cache = NULL;
 
-- 
2.43.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to