mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-20 14:03:50 +03:00
260100ed33
PVE::Storage::path() neither activates the storage of the passed-in volume, nor does it ensure that the returned value is actually a file or block device, so this actually fixes two issues. PVE::Storage::abs_filesystem_path() actually takes care of both, while still calling path() under the hood (since $volid here is always a proper volid, unless we change the cicustom schema at some point in the future). Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> (cherry picked from commit 9946d6fa576cc33ab979005c79d692a0724a60e1) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>