mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: move Lvm.lv_canonical to new Lvm_utils module
This way the Lvm module contains only the OCaml implementations of LVM daemon APIs. This is simple refactoring, with no functional changes.
This commit is contained in:
@@ -44,7 +44,7 @@ and findfs tag str =
|
||||
|
||||
if String.is_prefix out "/dev/mapper/" ||
|
||||
String.is_prefix out "/dev/dm-" then (
|
||||
match Lvm.lv_canonical out with
|
||||
match Lvm_utils.lv_canonical out with
|
||||
| None ->
|
||||
(* Ignore the case where 'out' doesn't appear to be an LV.
|
||||
* The best we can do is return the original as-is.
|
||||
|
||||
Reference in New Issue
Block a user